Skip to content

Commit

Permalink
rename response
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Jul 12, 2019
1 parent 3a3f673 commit ab3c042
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
@@ -1,3 +1,3 @@
{
"workbench.colorTheme": "SIMPLE DARK MODE"
"workbench.colorTheme": "Snazzy Operator"
}
6 changes: 3 additions & 3 deletions cypress/integration/spec.js
Expand Up @@ -18,16 +18,16 @@ describe('cy.api', () => {
url: '/'
},
'hello world'
).then(subject => {
expect(subject).to.include.keys([
).then(response => {
expect(response).to.include.keys([
'status',
'statusText',
'body',
'requestHeaders',
'headers',
'duration'
])
expect(subject.body).to.equal('Hello World!')
expect(response.body).to.equal('Hello World!')
})
})

Expand Down

0 comments on commit ab3c042

Please sign in to comment.