diff options
author | Karlo <karlo@aelogica.com> | 2015-06-22 18:23:17 +0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-06-23 21:31:50 -0700 |
commit | 703306a5cf9e66a5a20901d0fa914cf52f5de8a4 (patch) | |
tree | 055b99509bcd549c9377bf7ab94e08cb63942e96 | |
parent | e5d936e7c6265f8f8dcdd7fcc4b93aeb013acbd1 (diff) | |
download | bundler-703306a5cf9e66a5a20901d0fa914cf52f5de8a4.tar.gz |
Add test to ensure that bundle install --force exits without error
-rw-r--r-- | spec/install/force_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/install/force_spec.rb b/spec/install/force_spec.rb index 269390994a..f86eadaba7 100644 --- a/spec/install/force_spec.rb +++ b/spec/install/force_spec.rb @@ -7,14 +7,15 @@ describe "bundle install" do source "file://#{gem_repo1}" gem "rack" G - - bundle "install" end it "re-installs installed gems" do + bundle "install" bundle "install --force" + expect(out).to include "Installing rack 1.0.0" should_be_installed "rack 1.0.0" + expect(exitstatus).to eq(0) if exitstatus end end end |