blob: f86eadaba74c2335e3f535cd0fa78a5d46ad78b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require "spec_helper"
describe "bundle install" do
describe "with --force" do
before :each do
gemfile <<-G
source "file://#{gem_repo1}"
gem "rack"
G
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
|