Permalink
Browse files

Added another json test

  • Loading branch information...
1 parent 4eaf8b3 commit c65768d74e26f4229814584efbc0aa1041efc6ce @tj tj committed Oct 18, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 test/browser.navigation.test.js
View
6 test/browser.navigation.test.js
@@ -183,7 +183,11 @@ module.exports = {
browser.request('GET', '/json', {}, function(res, obj){
res.body.should.eql({ user: 'tj' });
obj.should.eql({ user: 'tj' });
- done();
+
+ browser.get('/json', function(res, obj){
+ obj.should.eql({ user: 'tj' });
+ done();
+ });
});
},

0 comments on commit c65768d

Please sign in to comment.