Add test queue adapter

This commit is contained in:
Eric Schultz 2019-11-08 11:25:53 -06:00
parent f76bff6cbb
commit 28d1c11af4

View file

@ -43,7 +43,8 @@ end
RSpec.configure do |config|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_path = "#{::Rails.root}/spec/fixtures"
ActiveJob::Base.queue_adapter = :test
# If you're not using ActiveRecord, or you'd prefer not to run each of your
# examples within a transaction, remove the following line or assign false
# instead of true.