aboutsummaryrefslogtreecommitdiffstats
path: root/spec/other/help_spec.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2010-11-13 10:26:43 -0600
committerAndre Arko <andre@arko.net>2010-11-13 10:26:43 -0600
commit7585837c2560a46fd8be13d68f2c7e8c79655d3b (patch)
treeb954f20f865db514ef55ba5a5a38e98305868131 /spec/other/help_spec.rb
parentaa1741460091cb4bd576160874e3a75b61abb70b (diff)
downloadbundler-7585837c2560a46fd8be13d68f2c7e8c79655d3b.tar.gz
fix checking for sudo, and use !(`which foo` rescue '').empty? everywhere
Diffstat (limited to 'spec/other/help_spec.rb')
-rw-r--r--spec/other/help_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/other/help_spec.rb b/spec/other/help_spec.rb
index 79279f8a..06bc9490 100644
--- a/spec/other/help_spec.rb
+++ b/spec/other/help_spec.rb
@@ -25,7 +25,7 @@ describe "bundle help" do
it "simply outputs the txt file when there is no groff on the path" do
kill_path!
- bundle "help install"
+ bundle "help install", :expect_err => true
out.should =~ /BUNDLE-INSTALL/
end