user #keyPath() for keys in demo app and in unit tests

This commit is contained in:
John Estropia committed 2016-09-09 17:05:55 +09:00
1 parent 0fa2a23461
commit e5245a0e5b
27 files changed
+1002 -851

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ final class GroupByTests: BaseTestCase {
self.prepareStack { (dataStack) in
let groupBy = GroupBy("testString")
let groupBy = GroupBy(#keyPath(TestEntity1.testString))
let request = NSFetchRequest<TestEntity1>()
_ = From<TestEntity1>().applyToFetchRequest(request, context: dataStack.mainContext)