diff --git a/Tests/IGListReloadDataUpdaterTests.m b/Tests/IGListReloadDataUpdaterTests.m index 492ed989e..d9a610b59 100644 --- a/Tests/IGListReloadDataUpdaterTests.m +++ b/Tests/IGListReloadDataUpdaterTests.m @@ -58,6 +58,10 @@ - (void)test_whenCompletionBlockExists_thatBlockExecuted { XCTAssertTrue(executed); } +- (void)test_thatDataUpdateBlockStateIsAvailable { + XCTAssertTrue(!self.adapter.updater.isInDataUpdateBlock); +} + - (void)test_whenInsertingIntoContext_thatCollectionViewUpdated { self.dataSource.objects = @[@2]; [self.adapter reloadDataWithCompletion:nil];