diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-05-06 18:06:21 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-03 09:29:55 +0900 |
commit | c3ddd47ce7b546530e2241b0ea6a96817977886a (patch) | |
tree | 46515c479773d7add25773b536009e096ee9fa78 /spec/bundler/runtime/load_spec.rb | |
parent | d8d5e16305ee071f7cf16980788cabcc44799c2e (diff) | |
download | ruby-c3ddd47ce7b546530e2241b0ea6a96817977886a.tar.gz |
[bundler/bundler] Normalize file:// handling in specs
https://github.com/bundler/bundler/commit/5946d62ad0
Diffstat (limited to 'spec/bundler/runtime/load_spec.rb')
-rw-r--r-- | spec/bundler/runtime/load_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/bundler/runtime/load_spec.rb b/spec/bundler/runtime/load_spec.rb index b74dbde3f6..80ad692769 100644 --- a/spec/bundler/runtime/load_spec.rb +++ b/spec/bundler/runtime/load_spec.rb @@ -4,7 +4,7 @@ RSpec.describe "Bundler.load" do describe "with a gemfile" do before(:each) do install_gemfile! <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "rack" G end @@ -28,7 +28,7 @@ RSpec.describe "Bundler.load" do describe "with a gems.rb file" do before(:each) do create_file "gems.rb", <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "rack" G bundle! :install @@ -74,7 +74,7 @@ RSpec.describe "Bundler.load" do describe "when called twice" do it "doesn't try to load the runtime twice" do install_gemfile! <<-G - source "file:#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "rack" gem "activesupport", :group => :test G @@ -98,7 +98,7 @@ RSpec.describe "Bundler.load" do describe "not hurting brittle rubygems" do it "does not inject #source into the generated YAML of the gem specs" do install_gemfile! <<-G - source "file:#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "activerecord" G |