allow localhost setting

This commit is contained in:
Matt Jankowski 2024-05-02 17:36:57 -04:00
parent 0ca97a5487
commit a50c931501

View file

@ -22,7 +22,10 @@ require 'test_prof/recipes/rspec/before_all'
Dir[Rails.root.join('spec', 'support', '**', '*.rb')].each { |f| require f }
ActiveRecord::Migration.maintain_test_schema!
WebMock.disable_net_connect!(allow: Chewy.settings[:host], allow_localhost: true)
WebMock.disable_net_connect!(
allow_localhost: true,
allow: Chewy.settings[:host]
)
Sidekiq.logger = nil
DatabaseCleaner.strategy = [:deletion]