Skip to content
Myr

refactored * routing test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent 1cc2dc7 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • tests:+2 added−2 removed

1 file+2 added−2 removed

modified:test/app.router.js+2 added-2 removed
309 unmodified lines
310 res.end(resource + ' as ' + format);311 });312313 request(app)314 .get('/api/users/0.json')315 .expect('users/0 as json', done);314 .get('/api/users/foo.bar.json')315 .expect('users/foo.bar as json', done);316 })317 318 it('should allow naming', function(done){319 var app = express();
219 unmodified lines