Permalink
Browse files

examples: fix typo in multi-router example

closes #3718
  • Loading branch information...
loganripplinger authored and dougwilson committed Aug 15, 2018
1 parent d5b33cf commit ede24da9645ed771ddeb9cf327d042d35a31d42d
Showing with 2 additions and 2 deletions.
  1. +1 −1 examples/multi-router/index.js
  2. +1 −1 test/acceptance/multi-router.js
@@ -6,7 +6,7 @@ app.use('/api/v1', require('./controllers/api_v1'));
app.use('/api/v2', require('./controllers/api_v2'));
app.get('/', function(req, res) {
res.send('Hello form root route.');
res.send('Hello from root route.')
});
/* istanbul ignore next */
@@ -6,7 +6,7 @@ describe('multi-router', function(){
it('should respond with root handler', function(done){
request(app)
.get('/')
.expect(200, 'Hello form root route.', done)
.expect(200, 'Hello from root route.', done)
})
})

0 comments on commit ede24da

Please sign in to comment.