demarches-normaliennes/spec/support/active_job.rb
2024-08-22 09:26:48 +02:00

11 lines
198 B
Ruby

# frozen_string_literal: true
RSpec.configure do |config|
config.include ActiveJob::TestHelper
config.before(:each) do
clear_enqueued_jobs
end
end
ActiveJob::Base.queue_adapter = :test