Fixed challenge count check (#10215)

This commit is contained in:
Keith Holliday
2018-04-01 16:54:32 -05:00
committed by GitHub
parent 1f7fc594e5
commit ed607d2bae

View File

@@ -267,7 +267,7 @@ describe('GET challenges/user', () => {
it('does not page challenges if page parameter is absent', async () => {
const challenges = await user.get('/challenges/user');
expect(challenges.length).to.eql(12);
expect(challenges.length).to.be.above(11);
});
it('paginates challenges', async () => {