Skip to content

Instantly share code, notes, and snippets.

@negipo
Created August 8, 2010 05:51
Show Gist options
  • Save negipo/513641 to your computer and use it in GitHub Desktop.
Save negipo/513641 to your computer and use it in GitHub Desktop.
module RSpec
module Core
module Formatters
class ProgressFormatter
alias _example_failed example_failed
def example_failed(example)
_example_failed(example)
system 'say "failed" &'
system 'growlnotify -p 1 -t "spec failed" -m "failed" &'
system 'glitch'
end
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment