Move the jobs logging handling in ApplicationJob

This commit is contained in:
gregoirenovel 2017-10-03 16:31:17 +02:00
parent 51f57d983e
commit 0006d42874
5 changed files with 25 additions and 4 deletions

View file

@ -24,6 +24,8 @@ require 'rspec/rails'
# If you are not using ActiveRecord, you can remove this line.
ActiveRecord::Migration.maintain_test_schema!
ActiveJob::Base.queue_adapter = :test
RSpec.configure do |config|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_path = "#{::Rails.root}/spec/fixtures"