Skip to content

Commit

Permalink
examples: fix typo in multi-router example
Browse files Browse the repository at this point in the history
closes #3718
  • Loading branch information
loganripplinger authored and dougwilson committed Sep 13, 2018
1 parent d5b33cf commit ede24da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/multi-router/index.js
Expand Up @@ -6,7 +6,7 @@ app.use('/api/v1', require('./controllers/api_v1'));
app.use('/api/v2', require('./controllers/api_v2')); app.use('/api/v2', require('./controllers/api_v2'));


app.get('/', function(req, res) { app.get('/', function(req, res) {
res.send('Hello form root route.'); res.send('Hello from root route.')
}); });


/* istanbul ignore next */ /* istanbul ignore next */
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/multi-router.js
Expand Up @@ -6,7 +6,7 @@ describe('multi-router', function(){
it('should respond with root handler', function(done){ it('should respond with root handler', function(done){
request(app) request(app)
.get('/') .get('/')
.expect(200, 'Hello form root route.', done) .expect(200, 'Hello from root route.', done)
}) })
}) })


Expand Down

0 comments on commit ede24da

Please sign in to comment.