WIP: prototype for ManagedObjectProtocol

This commit is contained in:
John Estropia committed 2017-04-05 21:56:19 +09:00
1 parent 258c237100
commit 8b77e4e5a0
44 files changed
+1244 -823

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ class BaseTestCase: XCTestCase {
@nonobjc
@discardableResult
func prepareStack<T>(configurations: [String?] = [nil], _ closure: (_ dataStack: DataStack) -> T) -> T {
func prepareStack<T>(configurations: [ModelConfiguration] = [nil], _ closure: (_ dataStack: DataStack) -> T) -> T {
let stack = DataStack(
modelName: "Model",
@@ -28,7 +28,7 @@ class BaseTestDataTestCase: BaseTestCase {
}()
@nonobjc
func prepareTestDataForStack(_ stack: DataStack, configurations: [String?] = [nil]) {
func prepareTestDataForStack(_ stack: DataStack, configurations: [ModelConfiguration] = [nil]) {
try! stack.perform(
synchronous: { (transaction) in