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

Commit

Permalink
fixing indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jstoiko committed Apr 4, 2018
1 parent e89d914 commit 66696ae
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions test/test10.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ describe('osprey mock service v1.0', function () {
url: '/api/test'
}
)
.use(server(http))
.then(function (res) {
expect(JSON.parse(res.body)).to.deep.equal({success: true})
expect(res.status).to.equal(200)
})
.use(server(http))
.then(function (res) {
expect(JSON.parse(res.body)).to.deep.equal({success: true})
expect(res.status).to.equal(200)
})
})

it('should respond with nested example parameter', function () {
Expand Down Expand Up @@ -103,10 +103,10 @@ describe('osprey mock service v1.0', function () {
url: '/api/headersdefaultbeforeexample'
}
)
.use(server(http))
.then(function (res) {
expect(res.headers.foo).to.equal('test')
})
.use(server(http))
.then(function (res) {
expect(res.headers.foo).to.equal('test')
})
})

it('should return a header \'foo\' equal to the \'default\' value \'test\'', function () {
Expand All @@ -116,10 +116,10 @@ describe('osprey mock service v1.0', function () {
url: '/api/headersdefault'
}
)
.use(server(http))
.then(function (res) {
expect(res.headers.foo).to.equal('test')
})
.use(server(http))
.then(function (res) {
expect(res.headers.foo).to.equal('test')
})
})

it('should return a header \'foo\' equal to the \'example\' value \'bar\'', function () {
Expand All @@ -129,10 +129,10 @@ describe('osprey mock service v1.0', function () {
url: '/api/headersexample'
}
)
.use(server(http))
.then(function (res) {
expect(res.headers.foo).to.equal('bar')
})
.use(server(http))
.then(function (res) {
expect(res.headers.foo).to.equal('bar')
})
})

it('should return a header \'foo\' equal to any of the \'examples\' value defined', function () {
Expand All @@ -142,10 +142,10 @@ describe('osprey mock service v1.0', function () {
url: '/api/headersexamples'
}
)
.use(server(http))
.then(function (res) {
expect(res.headers.foo).to.be.oneOf(['bar', 'foo', 'random', 'another'])
})
.use(server(http))
.then(function (res) {
expect(res.headers.foo).to.be.oneOf(['bar', 'foo', 'random', 'another'])
})
})
})
})

0 comments on commit 66696ae

Please sign in to comment.