Skip to content

Commit

Permalink
Added another json test
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Oct 18, 2011
1 parent 4eaf8b3 commit c65768d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/browser.navigation.test.js
Expand Up @@ -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();
});
});
},

Expand Down

0 comments on commit c65768d

Please sign in to comment.