Deleted last test.

Because Sut’s performFetch method can not be called in the getter of Sut’s fetchedResultsController.
This will cause these two methods calling each other resulting in a infinite loop.
This commit is contained in:
NicholasTD07
2014-03-10 17:29:10 +08:00
parent 435657138c
commit 23834f86e3

View File

@@ -84,14 +84,4 @@
XCTAssertTrue([(NTDFakeCDTVC *)sut loggedError]);
}
- (void)testSutsPerformFetchIsCalledAfterCreatingNewFrc
{
// given
sut = [[NTDFakeCDTVC alloc] init];
// when
[sut fetchedResultsController];
// then
XCTAssertTrue([(NTDFakeCDTVC *)sut performFetchIsCalled]);;
}
@end