diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-22 23:08:05 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-22 23:08:05 +0000 |
commit | 7825e8363d4b2ccad8e2d3f5eeba9e26f6656911 (patch) | |
tree | 83cbcf419e0feeb2ab0fd063ed85e0776eb0081b /spec/bundler/commands/list_spec.rb | |
parent | 73bed0312895322e0fd18310e840356c8e6af812 (diff) |
Postponing the Bundler merge.
I faced a big issue about Bundler with ruby core.
I have no time to resolve it issue before 2.5 final release.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/bundler/commands/list_spec.rb')
-rw-r--r-- | spec/bundler/commands/list_spec.rb | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/spec/bundler/commands/list_spec.rb b/spec/bundler/commands/list_spec.rb deleted file mode 100644 index 0ea70f015c..0000000000 --- a/spec/bundler/commands/list_spec.rb +++ /dev/null @@ -1,40 +0,0 @@ -# frozen_string_literal: true - -RSpec.describe "bundle list", :bundler => "2" do - before do - install_gemfile <<-G - source "file://#{gem_repo1}" - gem "rack" - G - end - - context "with name-only option" do - it "prints only the name of the gems in the bundle" do - bundle "list --name-only" - expect(out).to eq "rack" - end - end - - context "when no gems are in the gemfile" do - before do - install_gemfile <<-G - source "file://#{gem_repo1}" - G - end - - it "prints message saying no gems are in the bundle" do - bundle "list" - expect(out).to include("No gems in the Gemfile") - end - end - - it "lists gems installed in the bundle" do - bundle "list" - expect(out).to include(" * rack (1.0.0)") - end - - it "aliases the ls command to list" do - bundle "ls" - expect(out).to include("Gems included by the bundle") - end -end |