Skip to content

Commit

Permalink
[*] witnessNewScenario every example row
Browse files Browse the repository at this point in the history
  • Loading branch information
hairyhum committed Jun 4, 2012
1 parent d563a1d commit fc08ef8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/cucumber/runtime/ast_tree_walker.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ var AstTreeWalker = function(features, supportCodeLibrary, listeners) {
visitRow: function visitRow(row, scenario,callback){
var payload = {exampleRow:row},
event = AstTreeWalker.Event(AstTreeWalker.ROW_EVENT_NAME, payload);
self.witnessNewScenario();
self.broadcastEventAroundUserFunction(
event,
function(callback){
Expand Down

0 comments on commit fc08ef8

Please sign in to comment.