Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make distinct() call before replacing original qs reference (#283). #287

Merged
merged 2 commits into from
Sep 1, 2015

Conversation

fladi
Copy link
Contributor

@fladi fladi commented Aug 31, 2015

By overwriting the reference to the original qs/mock it gets hard to assert that
distinct() was called in the tests. By calling distinct() before replacing
the reference to the original qs/mock the tests can stay the same.

Fixes #283

…tongibson#283).

By overwriting the reference to the original qs/mock it gets hard to assert that
`distinct()` was called in the tests. By calling `distinct()` before replacing
the reference to the original qs/mock the tests can stay the same.
@carltongibson
Copy link
Owner

@fladi Thanks!

carltongibson pushed a commit that referenced this pull request Sep 1, 2015
Make `distinct()` call before replacing original `qs` reference (Fixes #283).
@carltongibson carltongibson merged commit b356e46 into carltongibson:develop Sep 1, 2015
@fladi fladi deleted the mock-1.3 branch September 2, 2015 05:51
@carltongibson carltongibson modified the milestone: 0.12.0 Sep 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants