Skip to content

Commit

Permalink
build: supertest@1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Jun 1, 2016
1 parent d038689 commit 8ddab69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"marked": "0.3.5",
"mocha": "2.5.3",
"should": "9.0.0",
"supertest": "1.1.0",
"supertest": "1.2.0",
"body-parser": "~1.14.2",
"connect-redis": "~2.4.1",
"cookie-parser": "~1.4.1",
Expand Down
8 changes: 4 additions & 4 deletions test/req.query.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('req', function(){
var app = createApp('simple');

request(app)
.get('/?user[name]=tj')
.get('/?user%5Bname%5D=tj')
.expect(200, '{"user[name]":"tj"}', done);
});
});
Expand All @@ -55,7 +55,7 @@ describe('req', function(){
});

request(app)
.get('/?user[name]=tj')
.get('/?user%5Bname%5D=tj')
.expect(200, '{"length":17}', done);
});
});
Expand All @@ -65,7 +65,7 @@ describe('req', function(){
var app = createApp(false);

request(app)
.get('/?user[name]=tj')
.get('/?user%5Bname%5D=tj')
.expect(200, '{}', done);
});
});
Expand All @@ -75,7 +75,7 @@ describe('req', function(){
var app = createApp(true);

request(app)
.get('/?user[name]=tj')
.get('/?user%5Bname%5D=tj')
.expect(200, '{"user[name]":"tj"}', done);
});
});
Expand Down

0 comments on commit 8ddab69

Please sign in to comment.