aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test
diff options
context:
space:
mode:
authorYukio Mizuta <untidyhair@gmail.com>2014-12-28 17:55:40 -0800
committerYukio Mizuta <untidyhair@gmail.com>2014-12-28 17:55:40 -0800
commit8a1d1d4e1451ae76159cd818534916d88c8b6ddc (patch)
tree5623fd354d9a386b029b799e44474c301ebc1112 /activejob/test
parent73fe108d700cc2fa85bc7775c5a2ca9ca529849a (diff)
downloadrails-8a1d1d4e1451ae76159cd818534916d88c8b6ddc.tar.gz
rails-8a1d1d4e1451ae76159cd818534916d88c8b6ddc.tar.bz2
rails-8a1d1d4e1451ae76159cd818534916d88c8b6ddc.zip
Expectation comes first
Diffstat (limited to 'activejob/test')
-rw-r--r--activejob/test/cases/adapter_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/test/cases/adapter_test.rb b/activejob/test/cases/adapter_test.rb
index 4fc235ae40..61a7cae5bf 100644
--- a/activejob/test/cases/adapter_test.rb
+++ b/activejob/test/cases/adapter_test.rb
@@ -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