# VCR config
require 'vcr'

VCR.configure do |c|
  c.configure_rspec_metadata!
  c.hook_into :faraday
  c.default_cassette_options = {
      record: ENV['TRAVIS'] ? :none : :once
  }
  c.cassette_library_dir = 'spec/cassettes'
end

VCR.turn_off! ignore_cassettes: true if ENV['TRAVIS']

Move VCR to spec support
Move VCR to spec support
