diff options
Diffstat (limited to 'spec/install/gemfile_spec.rb')
-rw-r--r-- | spec/install/gemfile_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/install/gemfile_spec.rb b/spec/install/gemfile_spec.rb index c26fbd74e7..dd08939cb0 100644 --- a/spec/install/gemfile_spec.rb +++ b/spec/install/gemfile_spec.rb @@ -14,7 +14,7 @@ RSpec.describe "bundle install" do context "with --gemfile" do it "finds the gemfile" do gemfile bundled_app("NotGemfile"), <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem 'rack' G @@ -30,7 +30,7 @@ RSpec.describe "bundle install" do context "with gemfile set via config" do before do gemfile bundled_app("NotGemfile"), <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem 'rack' G @@ -73,7 +73,7 @@ RSpec.describe "bundle install" do simulate_ruby_version "2.3.0" do simulate_ruby_engine "jruby", "9.1.2.0" do install_gemfile! <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" ruby "2.3.0", :engine => :jruby, :engine_version => "9.1.2.0" G @@ -86,7 +86,7 @@ RSpec.describe "bundle install" do simulate_ruby_version "2.3.0" do simulate_ruby_engine "jruby", "9.1.2.0" do install_gemfile! <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" ruby "2.3.0", :engine => :jruby, :engine_version => "9.1.2.0" gem "rack" G |