mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Expectation comes first
This commit is contained in:
parent
73fe108d70
commit
8a1d1d4e14
1 changed files with 1 additions and 1 deletions
|
@ -3,6 +3,6 @@ require 'helper'
|
|||
class AdapterTest < ActiveSupport::TestCase
|
||||
test "should load #{ENV['AJADAPTER']} adapter" do
|
||||
ActiveJob::Base.queue_adapter = ENV['AJADAPTER'].to_sym
|
||||
assert_equal ActiveJob::Base.queue_adapter, "active_job/queue_adapters/#{ENV['AJADAPTER']}_adapter".classify.constantize
|
||||
assert_equal "active_job/queue_adapters/#{ENV['AJADAPTER']}_adapter".classify.constantize, ActiveJob::Base.queue_adapter
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue