aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2014-09-03 06:18:51 +0930
committerMatthew Draper <matthew@trebex.net>2014-09-03 06:18:51 +0930
commit268a55f5efc4366d2295e452542be5a846509234 (patch)
treeacaca347c8e51ef3ffc8017723279a4cddb9e66d
parent5ddbaea534d3a83ee3a00fa948cab896848a050a (diff)
parenta70bdfe6e391a35b74c42a96488d4e0e2f7c8200 (diff)
downloadrails-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.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