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
This commit is contained in:
PhilCai 2017-04-02 13:31:13 -07:00 committed by Facebook Github Bot
parent e9e09d726c
commit 7c81d0bd3d

View file

@ -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];