diff options
author | Andre Arko <andre@arko.net> | 2010-11-13 10:26:43 -0600 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2010-11-13 10:26:43 -0600 |
commit | 7585837c2560a46fd8be13d68f2c7e8c79655d3b (patch) | |
tree | b954f20f865db514ef55ba5a5a38e98305868131 /spec/other/help_spec.rb | |
parent | aa1741460091cb4bd576160874e3a75b61abb70b (diff) | |
download | bundler-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.rb | 2 |
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 |