diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-07 08:08:56 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-07 08:08:56 +0000 |
commit | c02174354e6e963b0375fb8faf0b6045ec27a43f (patch) | |
tree | ef02f7a13b4a0b47fa7622d360178d9c2adaa177 /spec/bundler/commands | |
parent | 15c977803d3e54045ed34d25d56eb11706c0db68 (diff) | |
download | ruby-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/commands')
-rw-r--r-- | spec/bundler/commands/lock_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/bundler/commands/lock_spec.rb b/spec/bundler/commands/lock_spec.rb index b16a828cad..01337d27ce 100644 --- a/spec/bundler/commands/lock_spec.rb +++ b/spec/bundler/commands/lock_spec.rb @@ -13,7 +13,7 @@ RSpec.describe "bundle lock" do before :each do gemfile <<-G - source "file://#{repo}" + source "file://localhost#{repo}" gem "rails" gem "with_license" gem "foo" @@ -21,7 +21,7 @@ RSpec.describe "bundle lock" do @lockfile = strip_lockfile <<-L GEM - remote: file:#{repo}/ + remote: file://localhost#{repo}/ specs: actionmailer (2.3.2) activesupport (= 2.3.2) @@ -228,7 +228,7 @@ RSpec.describe "bundle lock" do end gemfile <<-G - source "file:#{gem_repo4}" + source "file://localhost#{gem_repo4}" gem "mixlib-shellout" gem "gssapi" @@ -238,7 +238,7 @@ RSpec.describe "bundle lock" do expect(the_bundle.lockfile).to read_as(strip_whitespace(<<-G)) GEM - remote: file:#{gem_repo4}/ + remote: file://localhost#{gem_repo4}/ specs: ffi (1.9.14-x86-mingw32) gssapi (1.2.0) @@ -263,7 +263,7 @@ RSpec.describe "bundle lock" do expect(the_bundle.lockfile).to read_as(strip_whitespace(<<-G)) GEM - remote: file:#{gem_repo4}/ + remote: file://localhost#{gem_repo4}/ specs: ffi (1.9.14) ffi (1.9.14-x86-mingw32) |