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
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
@@ -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",
8 changes: 4 additions & 4 deletions test/req.query.js
Original file line number Diff line number Diff line change
@@ -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);
});
});
@@ -55,7 +55,7 @@ describe('req', function(){
});

request(app)
.get('/?user[name]=tj')
.get('/?user%5Bname%5D=tj')
.expect(200, '{"length":17}', done);
});
});
@@ -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);
});
});
@@ -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);
});
});

0 comments on commit 8ddab69

Please sign in to comment.