Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thyagoluciano committed Jan 17, 2019
1 parent 00ccff3 commit 8b563be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/step/then.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ defineSupportCode(({ Then }) => {
});

Then(/^I store the value of response header (.*) as (.*) in global scope$/, (headerName, variableName, callback) => {
const value = Request.getResponseObject().heades[headerName.toLowerCase()];
const value = Request.getResponseObject().headers[headerName.toLowerCase()];
Storage.setGlobalVariable(variableName, value);
callback();
});
Expand Down

0 comments on commit 8b563be

Please sign in to comment.