From b000cdadda242f180e2279204d57f1ad1cbb7717 Mon Sep 17 00:00:00 2001 From: Clarke Brunsdon Date: Sat, 17 Sep 2016 15:34:58 -0700 Subject: [PATCH] Disable web requests for anything not in cassette --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d9a90baf..6af12b4d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -41,7 +41,7 @@ c.ignore_localhost = true c.configure_rspec_metadata! c.default_cassette_options = { match_requests_on: [:method, :uri, :body], allow_unused_http_interactions: false } - c.allow_http_connections_when_no_cassette = true + c.allow_http_connections_when_no_cassette = false end require 'braintree'