Skip to content

Commit

Permalink
refactored * routing test
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed May 2, 2012
1 parent 1cc2dc7 commit 4d9ad21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/app.router.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ describe('app.router', function(){
});

request(app)
.get('/api/users/0.json')
.expect('users/0 as json', done);
.get('/api/users/foo.bar.json')
.expect('users/foo.bar as json', done);
})

it('should allow naming', function(done){
Expand Down

0 comments on commit 4d9ad21

Please sign in to comment.