From a70bdfe6e391a35b74c42a96488d4e0e2f7c8200 Mon Sep 17 00:00:00 2001 From: Abdelkader Boudih Date: Tue, 2 Sep 2014 20:27:32 +0000 Subject: Fix failing tests in ActiveJob Adapter --- activejob/lib/active_job/queue_adapters/test_adapter.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activejob/lib/active_job/queue_adapters/test_adapter.rb') 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 -- cgit v1.2.3