Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Add test to ensure that bundle install --force works even when bundle…
Browse files Browse the repository at this point in the history
… is not yet created
  • Loading branch information
Karlo authored and indirect committed Jun 24, 2015
1 parent 51dcc46 commit 08be389
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/install/force_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,14 @@
expect(out).to include "Using bundler 1.10.4"
end

it "works on first bundle install" do
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

0 comments on commit 08be389

Please sign in to comment.