diff options
-rw-r--r-- | activejob/lib/active_job/queue_adapters/test_adapter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activejob/lib/active_job/queue_adapters/test_adapter.rb b/activejob/lib/active_job/queue_adapters/test_adapter.rb index 971db9d7de..185d6fc7e6 100644 --- a/activejob/lib/active_job/queue_adapters/test_adapter.rb +++ b/activejob/lib/active_job/queue_adapters/test_adapter.rb @@ -3,6 +3,7 @@ module ActiveJob class TestAdapter attr_accessor(:perform_enqueued_jobs) { false } attr_accessor(:perform_enqueued_at_jobs) { false } + delegate :name, to: :class # Provides a store of all the enqueued jobs with the TestAdapter so you can check them. def enqueued_jobs |