mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
b6b2001f51
Using `assert` by itself without an error message leads to test output like the following: ``` Failure: QueuingTest#test_current_timezone_is_kept_while_running_perform_later [.../rails/activejob/test/integration/queuing_test.rb:118]: Expected false to be truthy. ``` These added helpers provide a more specific error message so that the reasons for test failures become more clear: ``` Failure: QueuingTest#test_current_timezone_is_kept_while_running_perform_later [.../rails/activejob/test/integration/queuing_test.rb:118]: Job AJ-63fe8bf6-7062-4a56-a10a-97c37fcaa6e6 was not executed ``` |
||
---|---|---|
.. | ||
queuing_test.rb |