diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-15 22:01:15 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-15 22:01:15 +0200 |
commit | cf4e04161b3271fe4b57fb2f81cbdb4d93e4a92e (patch) | |
tree | afa5e087bb9e7bb179cb451619c248fa14a0a4f4 | |
parent | 013deb01944ace615fdc6b0db216c55fbc5a0a3f (diff) | |
download | bundler-simplify_ui.tar.gz |
Add a missing specsimplify_ui
`bundle exec` automatically resolves and lock even if bundler hasn't
been installed. But that feature wasn't tested.
-rw-r--r-- | spec/commands/exec_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/commands/exec_spec.rb b/spec/commands/exec_spec.rb index 87f303ae37..2c80d9528a 100644 --- a/spec/commands/exec_spec.rb +++ b/spec/commands/exec_spec.rb @@ -16,6 +16,15 @@ RSpec.describe "bundle exec" do expect(out).to eq("1.0.0") end + it "resolves automatically without having run `bundle install`" do + gemfile <<-G + gem "rack", "0.9.1" + G + + bundle "exec rackup" + expect(out).to include("Resolving dependencies...\n") + end + it "activates the correct gem" do install_gemfile <<-G gem "rack", "0.9.1" |