summaryrefslogtreecommitdiff
path: root/spec/support/artifice/vcr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/artifice/vcr.rb')
-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