demarches-normaliennes/spec/support/active_job.rb

12 lines
198 B
Ruby
Raw Normal View History

# 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