lib/cucumber/ast/scenario_outline.rb in cucumber-0.3.0 vs lib/cucumber/ast/scenario_outline.rb in cucumber-0.3.1
- old
+ new
@@ -23,18 +23,13 @@
examples_table = OutlineTable.new(examples_matrix, self)
Examples.new(examples_line, examples_keyword, examples_name, examples_table)
end
end
- def feature=(feature)
- @feature = feature
- @background.feature = feature if @background
- end
-
def accept(visitor)
visitor.visit_comment(@comment)
visitor.visit_tags(@tags)
- visitor.visit_scenario_name(@keyword, @name, file_colon_line(@line), source_indent(text_length))
+ visitor.visit_scenario_name(@keyword, @name, file_colon_line(@line), source_indent(first_line_length))
visitor.visit_steps(@steps)
skip_invoke! if @background && @background.failed?
@examples_array.each do |examples|
visitor.visit_examples(examples)