aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/update
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-07 08:08:56 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-07 08:08:56 +0000
commitc02174354e6e963b0375fb8faf0b6045ec27a43f (patch)
treeef02f7a13b4a0b47fa7622d360178d9c2adaa177 /spec/bundler/update
parent15c977803d3e54045ed34d25d56eb11706c0db68 (diff)
downloadruby-c02174354e6e963b0375fb8faf0b6045ec27a43f.tar.gz
Follow up r60970 for bundler's examples.
r60970 break Gemfile.lock format with file protocol after bundle install/update. I addd hostname to these examples. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/bundler/update')
-rw-r--r--spec/bundler/update/git_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/update/git_spec.rb b/spec/bundler/update/git_spec.rb
index 52c4fc0957..f8a6f534ee 100644
--- a/spec/bundler/update/git_spec.rb
+++ b/spec/bundler/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)