diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-10-10 15:00:28 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-10-10 15:00:28 -0300 |
commit | d1fc0a5eb286600abf8505516897b96c2f1ef3f6 (patch) | |
tree | 6270d56290b072834beb9f3d502b32cc369ea6fd /activejob/test/cases | |
parent | d861a1fcf8401a173876489d8cee1ede1cecde3b (diff) | |
download | rails-d1fc0a5eb286600abf8505516897b96c2f1ef3f6.tar.gz rails-d1fc0a5eb286600abf8505516897b96c2f1ef3f6.tar.bz2 rails-d1fc0a5eb286600abf8505516897b96c2f1ef3f6.zip |
Removed deprecated support to passing the adapter class to .queue_adapter
Diffstat (limited to 'activejob/test/cases')
-rw-r--r-- | activejob/test/cases/queue_adapter_test.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/activejob/test/cases/queue_adapter_test.rb b/activejob/test/cases/queue_adapter_test.rb index dc862450aa..f1e0cf78ad 100644 --- a/activejob/test/cases/queue_adapter_test.rb +++ b/activejob/test/cases/queue_adapter_test.rb @@ -20,19 +20,6 @@ class QueueAdapterTest < ActiveJob::TestCase assert_raises(ArgumentError) { ActiveJob::Base.queue_adapter = Mutex.new } end - test "should warn on passing an adapter class" do - klass = Class.new do - def self.name - "fake" - end - - def enqueue(*); end - def enqueue_at(*); end - end - - assert_deprecated { ActiveJob::Base.queue_adapter = klass } - end - test "should allow overriding the queue_adapter at the child class level without affecting the parent or its sibling" do base_queue_adapter = ActiveJob::Base.queue_adapter |