lib/active_job/test_helper.rb in activejob-4.2.0.beta3 vs lib/active_job/test_helper.rb in activejob-4.2.0.beta4

- old
+ new

@@ -69,11 +69,11 @@ # end # end # # Note: This assertion is simply a shortcut for: # - # assert_enqueued_jobs 0 + # assert_enqueued_jobs 0, &block def assert_no_enqueued_jobs(&block) assert_enqueued_jobs 0, &block end # Asserts that the number of performed jobs matches the given number. @@ -128,10 +128,10 @@ # end # end # # Note: This assertion is simply a shortcut for: # - # assert_performed_jobs 0 + # assert_performed_jobs 0, &block def assert_no_performed_jobs(&block) assert_performed_jobs 0, &block end # Asserts that the job passed in the block has been enqueued with the given arguments.