lib/atp/processors/condition_extractor.rb in atp-0.2.1 vs lib/atp/processors/condition_extractor.rb in atp-0.3.0

- old
+ new

@@ -19,18 +19,18 @@ conditions.pop end alias_method :on_flow_flag, :on_boolean_condition alias_method :on_test_result, :on_boolean_condition alias_method :on_test_executed, :on_boolean_condition + alias_method :on_job, :on_boolean_condition def on_condition(node) children = node.children.dup name = children.shift conditions << node.updated(nil, [name]) process_all(children) conditions.pop end - alias_method :on_job, :on_condition def on_test(node) results << [conditions.uniq, node] end alias_method :on_group, :on_test