aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/Rakefile
diff options
context:
space:
mode:
authorKir Shatrov <shatrov@me.com>2016-12-21 20:36:08 -0500
committerKir Shatrov <shatrov@me.com>2016-12-21 20:38:12 -0500
commit2f421fa294d7978b360b3b7d0f209dbf3a08dce5 (patch)
tree9e569a6148c969c86044a1dd621d2d4ffa8af76c /activejob/Rakefile
parent7336d0a269dbee21f4d38c2f48e47302e81095aa (diff)
downloadrails-2f421fa294d7978b360b3b7d0f209dbf3a08dce5.tar.gz
rails-2f421fa294d7978b360b3b7d0f209dbf3a08dce5.tar.bz2
rails-2f421fa294d7978b360b3b7d0f209dbf3a08dce5.zip
Remove warning in ActiveJob
Currently it causes: ``` activejob/Rakefile:5: warning: already initialized constant ACTIVEJOB_ADAPTERS ```
Diffstat (limited to 'activejob/Rakefile')
-rw-r--r--activejob/Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/Rakefile b/activejob/Rakefile
index 3953116061..c074487fbe 100644
--- a/activejob/Rakefile
+++ b/activejob/Rakefile
@@ -2,7 +2,7 @@ require "rake/testtask"
#TODO: add qu back to the list after it support Rails 5.1
ACTIVEJOB_ADAPTERS = %w(async inline delayed_job que queue_classic resque sidekiq sneakers sucker_punch backburner test)
-ACTIVEJOB_ADAPTERS -= %w(queue_classic) if defined?(JRUBY_VERSION)
+ACTIVEJOB_ADAPTERS.delete("queue_classic") if defined?(JRUBY_VERSION)
task default: :test
task test: "test:default"