test/minion_test.rb in parallel_minion-0.4.1 vs test/minion_test.rb in parallel_minion-1.0.0

- old
+ new

@@ -143,9 +143,16 @@ enabled? end assert_equal enabled, minion.result end + should 'keep the original arguments' do + minion = ParallelMinion::Minion.new(1, 'data', 14.1, description: 'Test') do | num, str, float | + num + float + end + assert_equal 15.1, minion.result + assert_equal [ 1, 'data', 14.1 ], minion.arguments + end end end end \ No newline at end of file