rails/activejob/test
Alex Ghiculescu 2385b6e4e5 Fix incorrect arguments for Active Job test job
This is an internal fix, not user facing.

Currently the `LoggingJob` does not accept more than one argument. But there's [a few tests](f46d3452ae/activejob/test/cases/test_helper_test.rb (L518-L537)) that call it with multiple arguments and assert that it is queued correctly. Those tests pass because the job is not performed, but if the job was performed, they'd fail.

This PR just fixes `LoggingJob` to accept a splat of arguments, and adds a test to ensure that it works correctly.
2023-07-02 16:25:09 +10:00
..
adapters Remove QueAdapter from Active Job 2022-09-12 22:31:10 +09:00
cases Fix incorrect arguments for Active Job test job 2023-07-02 16:25:09 +10:00
integration Add perform_all_later to enqueue multiple jobs at once 2023-02-02 16:39:22 -05:00
jobs Fix incorrect arguments for Active Job test job 2023-07-02 16:25:09 +10:00
models [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
support Fix compatability between tests and Sidekiq 6.5 2023-01-08 20:41:59 -05:00
helper.rb Enable verbose mode in test and report warnings as errors 2022-10-11 09:25:18 +02:00