summaryrefslogtreecommitdiff
path: root/spec/update/git_spec.rb
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-12-07 17:23:44 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-12-11 14:01:51 +0900
commitaca04dca68039bbf451c498303c03e3b87200d12 (patch)
tree988f84a4753602f3266ccf9ce559f393f2ae6ab4 /spec/update/git_spec.rb
parent6030bfdf30d557b5fb8607db8da3393ec56d9dd5 (diff)
downloadbundler-aca04dca68039bbf451c498303c03e3b87200d12.tar.gz
Fixed failing examples with Ruby 2.5.
It's introduced by URI::Generic channges. https://github.com/ruby/ruby/commit/ed48bfa5e8770a345424abd7f24f94ea9bbf5973
Diffstat (limited to 'spec/update/git_spec.rb')
-rw-r--r--spec/update/git_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/update/git_spec.rb b/spec/update/git_spec.rb
index 52c4fc0957..f8a6f534ee 100644
--- a/spec/update/git_spec.rb
+++ b/spec/update/git_spec.rb
@@ -291,7 +291,7 @@ RSpec.describe "bundle update" do
@git = build_git "foo", :path => lib_path("bar")
install_gemfile <<-G
- source "file://#{gem_repo2}"
+ source "file://localhost#{gem_repo2}"
git "#{lib_path("bar")}" do
gem 'foo'
end
@@ -319,7 +319,7 @@ RSpec.describe "bundle update" do
foo (2.0)
GEM
- remote: file:#{gem_repo2}/
+ remote: file://localhost#{gem_repo2}/
specs:
rack (1.0.0)