summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-04-28 11:20:44 +0200
committerSamuel Giddins <segiddins@segiddins.me>2017-06-13 11:12:22 -0500
commit6adfeb94c48fefb48e572d70b1c216cbd3ec1292 (patch)
treedc2961fa47e61cb7b5814daa46e5387d9f1691e4 /spec
parentb40745584bcba89dce042b5b28bb84b1de1d3d48 (diff)
downloadbundler-6adfeb94c48fefb48e572d70b1c216cbd3ec1292.tar.gz
Disallow making realworld network requests on CI
Diffstat (limited to 'spec')
-rw-r--r--spec/support/artifice/vcr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/artifice/vcr.rb b/spec/support/artifice/vcr.rb
index 576fe57d82..3d0c2c6dd6 100644
--- a/spec/support/artifice/vcr.rb
+++ b/spec/support/artifice/vcr.rb
@@ -35,7 +35,7 @@ class BundlerVCRHTTP < Net::HTTP
end
def recorded_response?
- return true if ENV["BUNDLER_SPEC_RECORDING"]
+ return true if ENV["BUNDLER_SPEC_PRE_RECORDED"]
request_pair_paths.all? {|f| File.exist?(f) }
end