lib/atp/processors/condition_extractor.rb in atp-0.4.0 vs lib/atp/processors/condition_extractor.rb in atp-0.4.1
- old
+ new
@@ -20,9 +20,10 @@
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
+ alias_method :on_run_flag, :on_boolean_condition
def on_group(node)
sig = node.children.select { |n| [:id, :name, :on_fail, :on_pass].include?(n.try(:type)) }
children = node.children.dup
conditions << node.updated(nil, sig)