Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed growl from watchr.

  • Loading branch information...
commit 579b5fed895ee82214596b7433cf2535cec87095 1 parent 90508fe
@jnunemaker authored
Showing with 1 addition and 13 deletions.
  1. +1 −13 specs.watchr
View
14 specs.watchr
@@ -1,15 +1,3 @@
-def growl(title, msg, img)
- %x{growlnotify -m #{ msg.inspect} -t #{title.inspect} --image ~/.watchr/#{img}.png}
-end
-
-def form_growl_message(str)
- msg = str.split("\n").last
- if msg =~ /(\d)\sfailure/
- img = $1.to_i > 0 ? 'fail' : 'pass'
- end
- growl 'Results', msg, img
-end
-
def run(cmd)
puts cmd
output = ""
@@ -20,7 +8,7 @@ def run(cmd)
$stdout.flush
end
end
- form_growl_message output
+ output
end
def run_spec(path)
Please sign in to comment.
Something went wrong with that request. Please try again.