Skip to content

Instantly share code, notes, and snippets.

@ogredude
Created February 21, 2013 23:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ogredude/5009466 to your computer and use it in GitHub Desktop.
Save ogredude/5009466 to your computer and use it in GitHub Desktop.
in spec_helper.rb
VCR.configure do |c|
c.cassette_library_dir = 'spec/fixtures/cassettes'
c.hook_into :fakeweb
# c.default_cassette_options = {:match_requests_on => [:method, VCR.request_matchers.uri_without_params(:address, :language, :sensor)]}
c.default_cassette_options = {:record => :new_episodes}
c.configure_rspec_metadata!
c.ignore_localhost = true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment