8a73f4b5b9
1. The :test adapter wasn't going through a full cycle of serialize/deserialize when performing jobs. Now it does 2. Regular AJ tests were not run for the :test adapter. Now they are 3. ActiveJob::TestHelper uses assert_valid_keys but doesn’t requires the file that implements that method. Now it does
8 lines
242 B
Ruby
8 lines
242 B
Ruby
require 'helper'
|
|
|
|
class AdapterTest < ActiveSupport::TestCase
|
|
test "should load #{ENV['AJADAPTER']} adapter" do
|
|
assert_equal "active_job/queue_adapters/#{ENV['AJADAPTER']}_adapter".classify, ActiveJob::Base.queue_adapter.name
|
|
end
|
|
end
|