diff --git a/Gemfile.lock b/Gemfile.lock index 7334b95..2f6e653 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: ../knapsack_pro-ruby specs: - knapsack_pro (7.1.0) + knapsack_pro (7.2.0) rake GEM diff --git a/spec/support/vcr.rb b/spec/support/vcr.rb index 72e2dbd..89dce79 100644 --- a/spec/support/vcr.rb +++ b/spec/support/vcr.rb @@ -2,26 +2,9 @@ VCR.configure do |config| config.cassette_library_dir = "spec/fixtures/vcr_cassettes" - config.hook_into :webmock # or :fakeweb - - config.ignore_hosts( - 'localhost', - '127.0.0.1', - '0.0.0.0', - 'api.knapsackpro.com', - 'api-fake.knapsackpro.com', - 'api-staging.knapsackpro.com', - 'api.knapsackpro.test', - 'api-disabled-for-fork.knapsackpro.com', - ) + config.hook_into :webmock + config.ignore_localhost = true end require 'webmock/rspec' - -WebMock.disable_net_connect!(allow: [ - 'api.knapsackpro.com', - 'api-fake.knapsackpro.com', - 'api-staging.knapsackpro.com', - 'api.knapsackpro.test', - 'api-disabled-for-fork.knapsackpro.com', -]) if defined?(WebMock) +WebMock.disable_net_connect!