Permalink
Browse files

Merge pull request #18231 from untidy-hair/improve_a_test

Expectation comes first
  • Loading branch information...
guilleiguaran committed Dec 29, 2014
2 parents 73fe108 + 8a1d1d4 commit e9b25eb0556f475b4e9e6bcbb1c9fb295d21c511
Showing with 1 addition and 1 deletion.
  1. +1 −1 activejob/test/cases/adapter_test.rb
@@ -3,6 +3,6 @@
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

0 comments on commit e9b25eb

Please sign in to comment.