Fix test to be more specific

This commit is contained in:
Fabien Franzen 2014-08-04 18:47:15 +02:00
parent 9be8d11431
commit 42f938ed72
1 changed files with 1 additions and 1 deletions

View File

@ -1002,7 +1002,7 @@ describe('relations - integration', function () {
it('has a basic error handler', function(done) {
var test = this;
this.get('/api/books/unknown/pages')
this.get('/api/books/unknown/pages/' + test.page.id + '/notes')
.expect(404, function(err, res) {
expect(res.body.error).to.be.an.object;
var expected = 'could not find a model with id unknown';