Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (17 sloc) 568 Bytes
require 'vcr'
require 'cgi'
VCR.configure do |config|
config.cassette_library_dir = File.expand_path('../../fixtures/vcr_cassettes', __FILE__)
config.hook_into :webmock
config.default_cassette_options = { :record => :new_episodes }
config.filter_sensitive_data('<API_KEY>') { Eventful.api_key }
config.filter_sensitive_data('<USER_AGENT>') do |interaction|
interaction.request.headers['User-Agent'].first
end
config.default_cassette_options = {
:serialize_with => :syck
}
end
RSpec.configure do |config|
config.extend VCR::RSpec::Macros
end
Jump to Line
Something went wrong with that request. Please try again.