summaryrefslogtreecommitdiff
path: root/spec/runtime
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-06-15 18:56:53 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-06-15 18:56:53 +0900
commitf24a132cf986029f7418bf63b07c2c237ccbede9 (patch)
treed02b409238517d219f0b9bba5db79dc6f1bdc70a /spec/runtime
parent2890c0613a11714dfbe4a9a5e9a77f512dae6e26 (diff)
downloadbundler-f24a132cf986029f7418bf63b07c2c237ccbede9.tar.gz
Move normalize methods to helper methods from rspec example files.
Diffstat (limited to 'spec/runtime')
-rw-r--r--spec/runtime/setup_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index 559cbead09..fdf77f4df1 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -1166,8 +1166,7 @@ end
#{Bundler::VERSION}
L
- lock = lock.gsub(%r{file:\/\/localhost}, "file://") if defined?(URI::File)
- lock
+ normalize_uri_file(lock)
end
before do