summaryrefslogtreecommitdiff
path: root/spec/plugins
diff options
context:
space:
mode:
authorSaverio Miroddi <saverio.pub2@gmail.com>2018-03-27 23:32:40 +0200
committerSaverio Miroddi <saverio.pub2@gmail.com>2018-03-27 23:33:44 +0200
commitd559cd7ef9a3484c3224964a15a73015c5c06e08 (patch)
tree7dad2e386cb03073e329c96c29a44bfa2d9ad9ea /spec/plugins
parent666350378243cb937c4f1ae518ffda64a5e22585 (diff)
downloadbundler-d559cd7ef9a3484c3224964a15a73015c5c06e08.tar.gz
Rename `local-git` plugin install option to `local_git`
Addresses https://github.com/bundler/bundler/pull/6338#discussion_r177392401.
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")