Created
March 9, 2018 20:15
-
-
Save sneljo1/dcd69f4d3c1fbc2820bf9b452e49ae0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Validate reponse status | |
expect(response.status).to.eql(200) | |
// Validate payload - using `Transform.bufferToObject` because we recieve the payload as a buffer | |
expect(Transform.bufferToObject(response.payload).owner).to.eql("newOwner") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment