lib/cucumber/ast/scenario_outline.rb in cucumber-0.3.11 vs lib/cucumber/ast/scenario_outline.rb in cucumber-0.3.90
- old
+ new
@@ -67,10 +67,15 @@
examples.each_example_row(&proc)
end
end
def visit_scenario_name(visitor, row)
- visitor.visit_scenario_name(Cucumber.scenario_keyword, row.name, file_colon_line(row.line), source_indent(first_line_length))
+ visitor.visit_scenario_name(
+ @feature.language.scenario_keyword,
+ row.name,
+ file_colon_line(row.line),
+ source_indent(first_line_length)
+ )
end
def to_sexp
sexp = [:scenario_outline, @keyword, @name]
comment = @comment.to_sexp