diff options
Diffstat (limited to 'spec/bundler/plugin/installer_spec.rb')
-rw-r--r-- | spec/bundler/plugin/installer_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/plugin/installer_spec.rb b/spec/bundler/plugin/installer_spec.rb index 71fef76042..65f6b4ab6b 100644 --- a/spec/bundler/plugin/installer_spec.rb +++ b/spec/bundler/plugin/installer_spec.rb @@ -58,7 +58,7 @@ RSpec.describe Bundler::Plugin::Installer do end let(:result) do - installer.install(["ga-plugin"], :git => "file://#{lib_path("ga-plugin")}") + installer.install(["ga-plugin"], :git => "#{file_uri_for(lib_path("ga-plugin"))}") end it "returns the installed spec after installing" do @@ -98,7 +98,7 @@ RSpec.describe Bundler::Plugin::Installer do context "rubygems plugins" do let(:result) do - installer.install(["re-plugin"], :source => "file://#{gem_repo2}") + installer.install(["re-plugin"], :source => "#{file_uri_for(gem_repo2)}") end it "returns the installed spec after installing " do @@ -113,7 +113,7 @@ RSpec.describe Bundler::Plugin::Installer do context "multiple plugins" do let(:result) do - installer.install(["re-plugin", "ma-plugin"], :source => "file://#{gem_repo2}") + installer.install(["re-plugin", "ma-plugin"], :source => "#{file_uri_for(gem_repo2)}") end it "returns the installed spec after installing " do |