aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/cases/queue_adapter_test.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-10-10 21:38:59 -0300
committerGitHub <noreply@github.com>2016-10-10 21:38:59 -0300
commitc2fa53606d3c98ac8dd079a1e5b22da3290a513b (patch)
treef6cb51b750c1ab0e725a4ecf41a5386af2b0bd8c /activejob/test/cases/queue_adapter_test.rb
parent36f6ab2d8e0ef84f520bb6169b61a8d79f222cfc (diff)
parent6a78e0ecd6122a6b1be9a95e6c4e21e10e429513 (diff)
downloadrails-c2fa53606d3c98ac8dd079a1e5b22da3290a513b.tar.gz
rails-c2fa53606d3c98ac8dd079a1e5b22da3290a513b.tar.bz2
rails-c2fa53606d3c98ac8dd079a1e5b22da3290a513b.zip
Merge pull request #26755 from rafaelfranca/deprecations
Remove deprecations in Active Model, Action View and Active Job
Diffstat (limited to 'activejob/test/cases/queue_adapter_test.rb')
-rw-r--r--activejob/test/cases/queue_adapter_test.rb13
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