Sha256: f6e04431a39de8eddab9f225cd685c6feeda07970a9f252e014ec0bec7b0e3d3
Contents?: true
Size: 771 Bytes
Versions: 4
Compression:
Stored size: 771 Bytes
Contents
require 'vcr' require 'webmock' require 'webmock/rspec' require 'yaml' require 'cgi' RSpec.configure do |config| config.include WebMock::API config.before(:each) do WebMock.reset! VCR.configure do |c| c.cassette_library_dir = 'spec/fixtures/vcr_cassettes' c.allow_http_connections_when_no_cassette = true c.hook_into :webmock # Created a yml file with credentials # ignored by git repository credentials = YAML.load_file('spec/fixtures/test_credentials.yml') c.filter_sensitive_data('<USERNAME>') { credentials['username'] } c.filter_sensitive_data('<PASSWORD>') { CGI.escape credentials['password'] } c.filter_sensitive_data('<PASSWORD>') { credentials['password'] } end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
formhub_ruby-0.0.7.2 | spec/spec_helper.rb |
formhub_ruby-0.0.7.1 | spec/spec_helper.rb |
formhub_ruby-0.0.6.1 | spec/spec_helper.rb |
formhub_ruby-0.0.3 | spec/spec_helper.rb |