aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
authorAbdelkader Boudih <terminale@gmail.com>2014-09-02 20:27:32 +0000
committerAbdelkader Boudih <terminale@gmail.com>2014-09-02 20:27:32 +0000
commita70bdfe6e391a35b74c42a96488d4e0e2f7c8200 (patch)
tree8080054580e8f998d020c8f3752c515f42bd7d5c /activejob
parente9058482f0ca2ac8ecdf972605e7fbb97ee42bfe (diff)
downloadrails-a70bdfe6e391a35b74c42a96488d4e0e2f7c8200.tar.gz
rails-a70bdfe6e391a35b74c42a96488d4e0e2f7c8200.tar.bz2
rails-a70bdfe6e391a35b74c42a96488d4e0e2f7c8200.zip
Fix failing tests in ActiveJob Adapter
Diffstat (limited to 'activejob')
-rw-r--r--activejob/lib/active_job/queue_adapters/test_adapter.rb1
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