aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/nodebrew.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-04 12:12:41 -0700
committerAdam Vandenberg2014-08-01 07:58:10 -0700
commitff86702dd85eab420f6f58e8dcf8375dae4b22b9 (patch)
treee0071c9d3604ab8d311679aa77ce9cce90da962f /Library/Formula/nodebrew.rb
parent1dc876667538fb33ebc9eb30edd3bc9b530592a6 (diff)
downloadhomebrew-ff86702dd85eab420f6f58e8dcf8375dae4b22b9.tar.bz2
use test helpers
Diffstat (limited to 'Library/Formula/nodebrew.rb')
-rw-r--r--Library/Formula/nodebrew.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Formula/nodebrew.rb b/Library/Formula/nodebrew.rb
index b65244fc2..ae292fc5d 100644
--- a/Library/Formula/nodebrew.rb
+++ b/Library/Formula/nodebrew.rb
@@ -23,9 +23,6 @@ class Nodebrew < Formula
end
test do
- IO.popen("nodebrew ls-remote") do |pipe|
- assert pipe.read.include?("v0.10.0")
- end
+ assert shell_output("#{bin}/nodebrew ls-remote").include?("v0.10.0")
end
-
end