summaryrefslogtreecommitdiff
path: root/spec/plugins/list_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/plugins/list_spec.rb')
-rw-r--r--spec/plugins/list_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/plugins/list_spec.rb b/spec/plugins/list_spec.rb
index 7dc9d10c4b..4a686415ad 100644
--- a/spec/plugins/list_spec.rb
+++ b/spec/plugins/list_spec.rb
@@ -38,7 +38,7 @@ RSpec.describe "bundler plugin list" do
context "single plugin installed" do
it "shows plugin name with commands list" do
- bundle "plugin install foo --source file://#{gem_repo2}"
+ bundle "plugin install foo --source #{file_uri_for(gem_repo2)}"
plugin_should_be_installed("foo")
bundle "plugin list"
@@ -49,7 +49,7 @@ RSpec.describe "bundler plugin list" do
context "multiple plugins installed" do
it "shows plugin names with commands list" do
- bundle "plugin install foo bar --source file://#{gem_repo2}"
+ bundle "plugin install foo bar --source #{file_uri_for(gem_repo2)}"
plugin_should_be_installed("foo", "bar")
bundle "plugin list"