summaryrefslogtreecommitdiff
path: root/spec/bundler/install/gems/flex_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/install/gems/flex_spec.rb')
-rw-r--r--spec/bundler/install/gems/flex_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/bundler/install/gems/flex_spec.rb b/spec/bundler/install/gems/flex_spec.rb
index f6af806154..f8b40f8e4e 100644
--- a/spec/bundler/install/gems/flex_spec.rb
+++ b/spec/bundler/install/gems/flex_spec.rb
@@ -247,19 +247,19 @@ RSpec.describe "bundle flex_install" do
it "updates the lockfile", :bundler => "< 2" do
build_repo2
install_gemfile! <<-G
- source "file://#{gem_repo1}"
+ source "file://localhost#{gem_repo1}"
gem "rack"
G
install_gemfile! <<-G
- source "file://#{gem_repo1}"
- source "file://#{gem_repo2}"
+ source "file://localhost#{gem_repo1}"
+ source "file://localhost#{gem_repo2}"
gem "rack"
G
lockfile_should_be <<-L
GEM
- remote: file:#{gem_repo1}/
- remote: file:#{gem_repo2}/
+ remote: file://localhost#{gem_repo1}/
+ remote: file://localhost#{gem_repo2}/
specs:
rack (1.0.0)