Moving Salmon notifications to background processing, fixing mini-profiler
behaviour with Turbolinks enabled, optimizing Rabl for production
This commit is contained in:
@ -9,6 +9,7 @@ require 'webmock/rspec'
|
||||
|
||||
ActiveRecord::Migration.maintain_test_schema!
|
||||
WebMock.disable_net_connect!
|
||||
Sidekiq::Testing.inline!
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
||||
@ -20,6 +21,10 @@ RSpec.configure do |config|
|
||||
config.include Devise::TestHelpers, type: :view
|
||||
end
|
||||
|
||||
RSpec::Sidekiq.configure do |config|
|
||||
config.warn_when_jobs_not_processed_by_sidekiq = false
|
||||
end
|
||||
|
||||
def request_fixture(name)
|
||||
File.read(File.join(Rails.root, 'spec', 'fixtures', 'requests', name))
|
||||
end
|
||||
|
Reference in New Issue
Block a user