Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
update for standard 11.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brevity committed Apr 19, 2018
1 parent 56128ef commit 6bd71fc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/test10.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ describe('osprey mock service v1.0', function () {
url: '/api/examples'
}
)
.use(server(http))
.then(function (res) {
var match = /example./.test(JSON.parse(res.body).name)
expect(match).to.equal(true)
expect(res.status).to.equal(200)
})
.use(server(http))
.then(function (res) {
var match = /example./.test(JSON.parse(res.body).name)
expect(match).to.equal(true)
expect(res.status).to.equal(200)
})
})

it('should reject undefined route', function () {
Expand Down Expand Up @@ -200,10 +200,10 @@ describe('osprey mock service v1.0', function () {
url: '/api/user'
}
)
.use(server(http))
.then(function (res) {
expect(JSON.parse(res.body).name).to.equal('Kendrick')
})
.use(server(http))
.then(function (res) {
expect(JSON.parse(res.body).name).to.equal('Kendrick')
})
})
})
})

0 comments on commit 6bd71fc

Please sign in to comment.