Skip to content

Commit

Permalink
fix broken test with projectionHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
nodkz committed Jul 20, 2016
1 parent 18a0463 commit 4e35da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolvers/helpers/__tests__/projection-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('Resolver helper `projection` ->', () => {
it('should call query.select if projection is provided', () => {
resolveParams.projection = { name: 1, age: 1 };
projectionHelper(resolveParams);
expect(spyFn).to.have.been.called.with(resolveParams.projection);
expect(spyFn).to.have.been.called.with({ name: true, age: true });
});
});
});

0 comments on commit 4e35da1

Please sign in to comment.