Skip to content

Instantly share code, notes, and snippets.

@alexbeletsky
Created January 26, 2018 10:20
Show Gist options
  • Save alexbeletsky/0c89f641ec2b2f2892eb4c53bb1dc9e1 to your computer and use it in GitHub Desktop.
Save alexbeletsky/0c89f641ec2b2f2892eb4c53bb1dc9e1 to your computer and use it in GitHub Desktop.
describe('GET /v2/invoices/{id}.html specs', function () {
describe('de', function () {
before(function () {
// call API and store response..
});
it('should return correct html', function () {
expect(beautify(this.response.payload)).toMatchSnapshot(this);
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment