Skip to content

Commit

Permalink
Dont allow http connection when no cassetes
Browse files Browse the repository at this point in the history
Avoid tests taking forever .. faster feedback
  • Loading branch information
huoxito committed Oct 21, 2014
1 parent 8851ab9 commit 6920cf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
Sinatra::Base.environment = 'test'

VCR.configure do |c|
c.allow_http_connections_when_no_cassette = true
c.allow_http_connections_when_no_cassette = false
c.cassette_library_dir = 'spec/cassettes'
c.hook_into :webmock

c.filter_sensitive_data('spree_user') { |_| ENV['SALESFORCE_USERNAME'] }
c.filter_sensitive_data('spree_user') { |_| ENV['SALESFORCE_USERNAME'].gsub('@','%40') }
c.filter_sensitive_data('spree_pwd') { |_| ENV['SALESFORCE_PASSWORD'] }
Expand Down

0 comments on commit 6920cf0

Please sign in to comment.