summaryrefslogtreecommitdiff
path: root/spec/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'spec/plugins')
-rw-r--r--spec/plugins/install_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/plugins/install_spec.rb b/spec/plugins/install_spec.rb
index d77e9c99f1..3f8a5940fe 100644
--- a/spec/plugins/install_spec.rb
+++ b/spec/plugins/install_spec.rb
@@ -128,14 +128,14 @@ RSpec.describe "bundler plugin install" do
s.write "plugins.rb"
end
- bundle "plugin install foo --local-git #{lib_path("foo-1.0")}"
+ bundle "plugin install foo --local_git #{lib_path("foo-1.0")}"
expect(out).to include("Installed plugin foo")
plugin_should_be_installed("foo")
end
it "raises an error when both git and local git sources are specified" do
- bundle "plugin install foo --local-git /phony/path/project --git git@gitphony.com:/repo/project"
+ bundle "plugin install foo --local_git /phony/path/project --git git@gitphony.com:/repo/project"
expect(exitstatus).not_to eq(0) if exitstatus
expect(out).to eq("Remote and local plugin git sources can't be both specified")