summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenzo Manacorda <lorenzo.manacorda@gmail.com>2015-09-15 11:59:03 +0200
committerLorenzo Manacorda <lorenzo.manacorda@gmail.com>2015-09-16 11:57:49 +0200
commit0a654b87be5d4af57e02c76fccf475c9b7588fac (patch)
tree30611cdb2b5d9f99fb7f4e9856bae837eb16a177
parentac4d72e8768d3024851f537021e84b9cf9c268bf (diff)
downloadbundler-0a654b87be5d4af57e02c76fccf475c9b7588fac.tar.gz
fix most tests in clean spec
one test still failing
-rw-r--r--spec/commands/clean_spec.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/spec/commands/clean_spec.rb b/spec/commands/clean_spec.rb
index f9d4275a1c..23f747df17 100644
--- a/spec/commands/clean_spec.rb
+++ b/spec/commands/clean_spec.rb
@@ -339,7 +339,8 @@ describe "bundle clean" do
gem "thin"
gem "rack"
G
- bundle "install --system"
+ bundle "config path.system true"
+ bundle :install
sys_exec "gem list"
expect(out).to include("rack (1.0.0)")
expect(out).to include("thin (1.0)")
@@ -349,7 +350,8 @@ describe "bundle clean" do
gem "rack"
G
- bundle "install --system"
+ bundle "config path.system true"
+ bundle :install
sys_exec "gem list"
expect(out).to include("rack (1.0.0)")
expect(out).to include("thin (1.0)")
@@ -529,7 +531,8 @@ describe "bundle clean" do
gem "bindir"
G
- bundle "install --system"
+ bundle "config path.system true"
+ bundle :install
bundle "clean --force"