diff options
author | Matthew Draper <matthew@trebex.net> | 2014-09-03 06:18:51 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2014-09-03 06:18:51 +0930 |
commit | 268a55f5efc4366d2295e452542be5a846509234 (patch) | |
tree | acaca347c8e51ef3ffc8017723279a4cddb9e66d | |
parent | 5ddbaea534d3a83ee3a00fa948cab896848a050a (diff) | |
parent | a70bdfe6e391a35b74c42a96488d4e0e2f7c8200 (diff) | |
download | rails-268a55f5efc4366d2295e452542be5a846509234.tar.gz rails-268a55f5efc4366d2295e452542be5a846509234.tar.bz2 rails-268a55f5efc4366d2295e452542be5a846509234.zip |
Merge pull request #16777 from seuros/testcase
Fix failing tests in ActiveJob Adapter
-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 |