From 01172502c14e9553ba98d24e8e8133159bf3f816 Mon Sep 17 00:00:00 2001 From: Asutosh Palai Date: Wed, 20 Jul 2016 18:46:58 +0530 Subject: Not respecting global source plugins --- spec/plugins/install_spec.rb | 2 +- spec/plugins/source_spec.rb | 20 -------------------- 2 files changed, 1 insertion(+), 21 deletions(-) (limited to 'spec/plugins') diff --git a/spec/plugins/install_spec.rb b/spec/plugins/install_spec.rb index 31271e7233..eed02c92c5 100644 --- a/spec/plugins/install_spec.rb +++ b/spec/plugins/install_spec.rb @@ -180,7 +180,7 @@ describe "bundler plugin install" do end end - describe "local plugin", :focused do + describe "local plugin" do it "is installed when inside an app" do gemfile "" bundle "plugin install foo --source file://#{gem_repo2}" diff --git a/spec/plugins/source_spec.rb b/spec/plugins/source_spec.rb index ea164e9811..92e948c190 100644 --- a/spec/plugins/source_spec.rb +++ b/spec/plugins/source_spec.rb @@ -59,26 +59,6 @@ describe "bundler source plugin" do end end - context "installed though cli" do - before do - bundle "plugin install another-psource --source file://#{gem_repo2}" - - install_gemfile <<-G - source "file://#{gem_repo2}" - source "file://#{lib_path("gitp")}", :type => :psource do - end - G - end - - it "completes successfully" do - expect(out).to include("Bundle complete!") - end - - it "doesn't install the default one" do - plugin_should_not_be_installed("bundler-source-psource") - end - end - context "explicit presence in gemfile" do before do install_gemfile <<-G -- cgit v1.2.1