mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove warning in ActiveJob
Currently it causes: ``` activejob/Rakefile:5: warning: already initialized constant ACTIVEJOB_ADAPTERS ```
This commit is contained in:
parent
7336d0a269
commit
2f421fa294
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue