Created
August 19, 2017 14:23
-
-
Save amitpatelx/b222f33260498c3d72bc8e35b2f48368 to your computer and use it in GitHub Desktop.
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
# place this in rspec/support directory | |
require 'vcr' | |
VCR.configure do |c| | |
c.cassette_library_dir = Rails.root.join('spec', 'vcr_cassettes') | |
c.allow_http_connections_when_no_cassette = true | |
c.hook_into :webmock | |
c.default_cassette_options = { :record => :once } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment