aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/nodebrew.rb
diff options
context:
space:
mode:
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