From 7c81d0bd3d5425e364684e5daeb1d48afc29cc73 Mon Sep 17 00:00:00 2001 From: PhilCai Date: Sun, 2 Apr 2017 13:31:13 -0700 Subject: [PATCH] fix a test mistake in IGListDisplayHandlerTests Summary: Issue fixed: # - [x] All tests pass. Demo project builds and runs. - [x] I added tests, an experiment, or detailed why my change isn't tested. - [x] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) Closes https://github.com/Instagram/IGListKit/pull/605 Differential Revision: D4817720 Pulled By: rnystrom fbshipit-source-id: a6d2cda39ede7bf4b44c2fefe6675339f467f2ae --- Tests/IGListDisplayHandlerTests.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/IGListDisplayHandlerTests.m b/Tests/IGListDisplayHandlerTests.m index 56f40eba..e7265603 100644 --- a/Tests/IGListDisplayHandlerTests.m +++ b/Tests/IGListDisplayHandlerTests.m @@ -215,7 +215,7 @@ [self.mockAdapterDelegate verify]; [[self.mockDisplayDelegate expect] listAdapter:self.adapter willDisplaySectionController:self.list cell:cell atIndex:path.item]; - [[self.mockAdapterDelegate reject] listAdapter:self.adapter willDisplayObject:self.list atIndex:path.item]; + [[self.mockAdapterDelegate reject] listAdapter:self.adapter willDisplayObject:self.object atIndex:path.item]; [[self.mockDisplayDelegate reject] listAdapter:self.adapter willDisplaySectionController:self.list]; [self.displayHandler willDisplayCell:cell forListAdapter:self.adapter sectionController:self.list object:self.object indexPath:path];