specs: move config line where it makes more sense

This commit is contained in:
Pierre de La Morinerie 2018-08-01 11:00:17 +02:00
parent 45d9de0995
commit 8af86fb110

View file

@ -47,8 +47,6 @@ Capybara.register_driver :headless_chrome do |app|
desired_capabilities: capabilities
end
ActiveSupport::Deprecation.silenced = true
Capybara.default_max_wait_time = 1
# Save a snapshot of the HTML page when an integration test fails
@ -69,6 +67,8 @@ Dir[Rails.root.join('spec', 'factories', '**', '*.rb')].each { |f| require f }
# If you are not using ActiveRecord, you can remove this line.
ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
ActiveSupport::Deprecation.silenced = true
VCR.configure do |c|
c.ignore_localhost = true
c.hook_into :webmock