From c881f4356a1ed6235c2e23e51d0dfc6a02624279 Mon Sep 17 00:00:00 2001 From: Peter Grman Date: Wed, 6 May 2015 16:01:36 +0200 Subject: [PATCH] Fix chai-http-tests --- chai-http/chai-http-tests.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chai-http/chai-http-tests.ts b/chai-http/chai-http-tests.ts index e6e471321..6146f8775 100644 --- a/chai-http/chai-http-tests.ts +++ b/chai-http/chai-http-tests.ts @@ -41,8 +41,7 @@ chai.request(app) chai.request(app) .get('/search') - .query('name', 'foo') - .query('limit', '10'); + .query({name: 'foo', limit: 10}); chai.request(app) .put('/user/me')