require 'vcr'

VCR.configure do |config|
  config.cassette_library_dir = 'spec/vcr'
  config.hook_into :webmock
  config.ignore_localhost = true
  config.configure_rspec_metadata!
  # config.default_cassette_options = { match_requests_on: [:method, :host], record: :new_episodes }
end

require 'vcr'

VCR.configure do |config|
  config.cassette_library_dir = 'spec/vcr'
  config.hook_into :webmock
  config.ignore_localhost = true
  config.configure_rspec_metadata!
  config.default_cassette_options = { match_requests_on: [:method, :uri], record: :once, allow_playback_repeats: true }
end

Add allow_playback_repeats to default cassette options
Add allow_playback_repeats to default cassette options
