test/functional/eft_8_undo.rb in ruote-2.1.7 vs test/functional/eft_8_undo.rb in ruote-2.1.8
- old
+ new
@@ -25,11 +25,11 @@
alpha = @engine.register_participant :alpha, Ruote::HashParticipant.new
#noisy
- assert_trace pdef, %w[ over ]
+ assert_trace %w[ over ], pdef
assert_equal 0, alpha.size
assert_equal 1, logger.log.select { |e| e['action'] == 'entered_tag' }.size
assert_equal 1, logger.log.select { |e| e['action'] == 'cancel' }.size
@@ -49,11 +49,11 @@
alpha = @engine.register_participant :alpha, Ruote::HashParticipant.new
#noisy
- assert_trace pdef, %w[ over ]
+ assert_trace %w[ over ], pdef
assert_equal 0, alpha.size
assert_equal 1, logger.log.select { |e| e['action'] == 'entered_tag' }.size
assert_equal 1, logger.log.select { |e| e['action'] == 'cancel' }.size
@@ -70,9 +70,9 @@
echo '.'
end
#noisy
- assert_trace pdef, '.'
+ assert_trace '.', pdef
end
end