summaryrefslogtreecommitdiff
path: root/spec/bundler/support/artifice/vcr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/support/artifice/vcr.rb')
-rw-r--r--spec/bundler/support/artifice/vcr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/artifice/vcr.rb b/spec/bundler/support/artifice/vcr.rb
index 0d51201bef..ceb133346f 100644
--- a/spec/bundler/support/artifice/vcr.rb
+++ b/spec/bundler/support/artifice/vcr.rb
@@ -69,7 +69,7 @@ class BundlerVCRHTTP < Net::HTTP
end
def file_name_for_key(key)
- key.join("/").gsub(/[\:*?"<>|]/, "-")
+ File.join(*key).gsub(/[\:*?"<>|]/, "-")
end
def request_pair_paths