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/executable_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/executable_spec.rb')
-rw-r--r-- | spec/bundler/runtime/executable_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/bundler/runtime/executable_spec.rb b/spec/bundler/runtime/executable_spec.rb index b2d5b6c03f..9b0b8ea81f 100644 --- a/spec/bundler/runtime/executable_spec.rb +++ b/spec/bundler/runtime/executable_spec.rb @@ -3,7 +3,7 @@ RSpec.describe "Running bin/* commands" do before :each do install_gemfile! <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "rack" G end @@ -84,7 +84,7 @@ RSpec.describe "Running bin/* commands" do end gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "bundler" G @@ -112,14 +112,14 @@ RSpec.describe "Running bin/* commands" do it "remembers that the option was specified", :bundler => "< 3" do gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "activesupport" G bundle! :install, forgotten_command_line_options([:binstubs, :bin] => "bin") gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "activesupport" gem "rack" G @@ -131,7 +131,7 @@ RSpec.describe "Running bin/* commands" do it "rewrites bins on binstubs (to maintain backwards compatibility)" do install_gemfile! <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "rack" G @@ -152,7 +152,7 @@ RSpec.describe "Running bin/* commands" do end create_file("OtherGemfile", <<-G) - source "file://#{gem_repo2}" + source "#{file_uri_for(gem_repo2)}" gem 'bindir' G |