diff options
author | Josef Šimánek <[email protected]> | 2021-12-06 01:42:43 +0100 |
---|---|---|
committer | git <[email protected]> | 2021-12-06 18:03:54 +0900 |
commit | 25423f0918eb31477a9ef72a4c14b0c5c5b78bc6 (patch) | |
tree | cb4bf1eae2f37a2756b0b493d8b4e3245ebb6cad /spec/bundler/commands/info_spec.rb | |
parent | 5ce3272e513e0dafedcc40f121e2d71bef3a3688 (diff) |
[rubygems/rubygems] Add --version parameter to bundle info command.
https://github.com/rubygems/rubygems/commit/7d9fdd908d
Diffstat (limited to 'spec/bundler/commands/info_spec.rb')
-rw-r--r-- | spec/bundler/commands/info_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/bundler/commands/info_spec.rb b/spec/bundler/commands/info_spec.rb index dbfb800c4c..7f618b5f6c 100644 --- a/spec/bundler/commands/info_spec.rb +++ b/spec/bundler/commands/info_spec.rb @@ -50,6 +50,11 @@ RSpec.describe "bundle info" do expect(out).to eq(root.to_s) end + it "prints gem version if exists in bundle" do + bundle "info rails --version" + expect(out).to eq("2.3.2") + end + it "doesn't claim that bundler has been deleted, even if using a custom path without bundler there" do bundle "config set --local path vendor/bundle" bundle "install" |