Skip to content

Instantly share code, notes, and snippets.

@tj
Created June 24, 2009 16:49
Show Gist options
  • Save tj/135379 to your computer and use it in GitHub Desktop.
Save tj/135379 to your computer and use it in GitHub Desktop.
if defined? Growl
method = failures.to_i > 0 ? :notify_error : :notify_ok
Growl.send method, "passes: #{passes} failures: #{failures}", :title => browser.to_s.capitalize
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment