diff options
-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 |