diff options
author | Asutosh Palai <asupalai@gmail.com> | 2016-07-20 18:46:58 +0530 |
---|---|---|
committer | Asutosh Palai <asupalai@gmail.com> | 2016-07-21 09:53:08 +0530 |
commit | 01172502c14e9553ba98d24e8e8133159bf3f816 (patch) | |
tree | 345c82148c28383f2f175fadb96fcfc0d6c4e766 /spec/plugins | |
parent | 363c16198b05fc829fbe47febc481e0deede4a3c (diff) | |
download | bundler-01172502c14e9553ba98d24e8e8133159bf3f816.tar.gz |
Not respecting global source plugins
Diffstat (limited to 'spec/plugins')
-rw-r--r-- | spec/plugins/install_spec.rb | 2 | ||||
-rw-r--r-- | spec/plugins/source_spec.rb | 20 |
2 files changed, 1 insertions, 21 deletions
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 |