diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-26 13:42:10 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-26 13:42:10 +0100 |
commit | 85b00d19b840bae98322c2372e8e0e3ebd66f2e0 (patch) | |
tree | 7eee05cd92cdcc0b97a07d2a94f8ee661f6eaca7 /spec | |
parent | da4b675aca2c68e976d7920d3fc5b7e2881d1d86 (diff) |
Moving Salmon notifications to background processing, fixing mini-profiler
behaviour with Turbolinks enabled, optimizing Rabl for production
Diffstat (limited to 'spec')
-rw-r--r-- | spec/rails_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index cf21bcd8d..71e99e16e 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -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 |