summaryrefslogtreecommitdiff
path: root/spec/install/gemfile/eval_gemfile_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install/gemfile/eval_gemfile_spec.rb')
-rw-r--r--spec/install/gemfile/eval_gemfile_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install/gemfile/eval_gemfile_spec.rb b/spec/install/gemfile/eval_gemfile_spec.rb
index 035d3692aa..7df94aaff5 100644
--- a/spec/install/gemfile/eval_gemfile_spec.rb
+++ b/spec/install/gemfile/eval_gemfile_spec.rb
@@ -71,7 +71,7 @@ RSpec.describe "bundle install with gemfile that uses eval_gemfile" do
create_file "other/Gemfile-other", "gem 'rack'"
create_file "other/Gemfile", "eval_gemfile 'Gemfile-other'"
create_file "Gemfile-alt", <<-G
- source "file:#{gem_repo1}"
+ source "#{file_uri_for(gem_repo1)}"
eval_gemfile "other/Gemfile"
G
install_gemfile! "eval_gemfile File.expand_path('Gemfile-alt')"