Created
November 13, 2013 14:34
-
-
Save kris-luminar/7450054 to your computer and use it in GitHub Desktop.
Cucumber VCR config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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