specs: move config line where it makes more sense
This commit is contained in:
parent
45d9de0995
commit
8af86fb110
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue