mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
cucumber: fix issue where an undefined step would cause an exception
This commit is contained in:
@@ -25,6 +25,7 @@ module Features
|
||||
@indent = 0
|
||||
@prefixes = options[:prefixes] || {}
|
||||
@delayed_messages = []
|
||||
@snippets_input = []
|
||||
end
|
||||
|
||||
def before_features(features)
|
||||
@@ -115,6 +116,10 @@ module Features
|
||||
@io.flush
|
||||
end
|
||||
|
||||
def after_test_step(test_step, result)
|
||||
collect_snippet_data(test_step, result)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def print_feature_element_name(keyword, name, file_colon_line, source_indent)
|
||||
|
||||
Reference in New Issue
Block a user