Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #26 from Tout/table_support

Issue #16 Support for table-based steps - current tests pass
  • Loading branch information...
commit 9f4b73f4520aaf49f9bc7c756b301e34784da70b 2 parents 858b197 + 40ff1cd
@pacovell pacovell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/kyuri/runners/cucumber.js
View
2  lib/kyuri/runners/cucumber.js
@@ -106,7 +106,7 @@ Cucumber.prototype.run = function (features, steps, callback) {
Object.keys(step).forEach(function (i) {
exampleStep[i] = step[i].slice(0); // copy the array
scenario.exampleVariables.forEach(function (variable) {
- exampleStep[i][1] = exampleStep[i][1].replace('\<' + variable + '\>', example[variable]);
+ exampleStep[i][1] = exampleStep[i][1].replace('\<' + variable + '\>', '"' + example[variable] + '"');
});
});
steps.push(exampleStep);
Please sign in to comment.
Something went wrong with that request. Please try again.