aboutsummaryrefslogtreecommitdiffstats
path: root/spec/plugins
diff options
context:
space:
mode:
authorAsutosh Palai <asupalai@gmail.com>2016-06-20 21:27:22 +0530
committerAsutosh Palai <asupalai@gmail.com>2016-07-03 09:40:59 +0530
commit07d843a4794bce29d0bec7bb30e35d8b47f90b90 (patch)
tree70e21a47fb1beb7542d63f85916ba68ca0902a73 /spec/plugins
parent4d2a6771c6bf31929f028ec627caecbc35434553 (diff)
downloadbundler-07d843a4794bce29d0bec7bb30e35d8b47f90b90.tar.gz
Made the auto added source plugins optional
Diffstat (limited to 'spec/plugins')
-rw-r--r--spec/plugins/source.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/plugins/source.rb b/spec/plugins/source.rb
index ae9f9e9a..a5217086 100644
--- a/spec/plugins/source.rb
+++ b/spec/plugins/source.rb
@@ -58,7 +58,7 @@ describe "bundler source plugin" do
end
end
- context "explicit presence in gemfile", :focused do
+ context "explicit presence in gemfile" do
before do
install_gemfile <<-G
source "file://#{gem_repo2}"
@@ -74,6 +74,10 @@ describe "bundler source plugin" do
expect(out).to include("Bundle complete!")
end
+ it "installs the explicit one" do
+ plugin_should_be_installed("another-psource")
+ end
+
it "doesn't install the default one" do
plugin_should_not_be_installed("bundler-source-psource")
end