Skip to content

Commit

Permalink
feat(checkResponse): add 'deepEqual' comparison for array when checki…
Browse files Browse the repository at this point in the history
…ng response
  • Loading branch information
matthieu.comby authored and Raphaël Benitte committed Jul 4, 2017
1 parent 706011f commit 6986f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/http_api/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ module.exports = ({ baseUrl = '' } = {}) => ({ Given, When, Then }) => {
break
case 'equals':
default:
expect(_.get(body, propertyMatcher.field)).to.be.equal(expectedValue)
expect(_.get(body, propertyMatcher.field)).to.be.deep.equal(expectedValue)
}
})

Expand Down

0 comments on commit 6986f91

Please sign in to comment.