Permalink
Browse files

Initial fix for table step generation - passes current tests

  • Loading branch information...
1 parent 858b197 commit 40ff1cda7febd21fe3917e880f891ce6717ee23b @kris-at-tout kris-at-tout committed Jan 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 40ff1cd

Please sign in to comment.