Skip to content

Instantly share code, notes, and snippets.

@kris-luminar
Created November 13, 2013 14:34
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 kris-luminar/7450054 to your computer and use it in GitHub Desktop.
Save kris-luminar/7450054 to your computer and use it in GitHub Desktop.
Cucumber VCR config file
require 'vcr'
VCR.configure do |c|
c.hook_into :webmock
c.cassette_library_dir = 'features/cassettes'
c.ignore_request do |request|
URI(request.uri).port == 8981 #solr test server
end
# can't get any features to run without this enabled
c.ignore_localhost = true
end
VCR.cucumber_tags do |t|
t.tag '@vcr', :use_scenario_name => true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment