lib/cucumber/parser/feature.tt in aslakhellesoy-cucumber-0.2.3 vs lib/cucumber/parser/feature.tt in aslakhellesoy-cucumber-0.2.3.1
- old
+ new
@@ -57,15 +57,16 @@
rule comment_line
'#' line_to_eol
end
rule background
- comment white background_keyword space* (eol+ / eof) steps {
+ comment white background_keyword space* name:line_to_eol? (eol+ / eof) steps {
def build
Ast::Background.new(
comment.build,
background_keyword.line,
- background_keyword.text_value,
+ background_keyword.text_value,
+ name.text_value,
steps.build
)
end
}
end
\ No newline at end of file