Skip to content

Instantly share code, notes, and snippets.

@krukow
Created September 17, 2012 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krukow/3739224 to your computer and use it in GitHub Desktop.
Save krukow/3739224 to your computer and use it in GitHub Desktop.
hooks
Before do |scenario|
end
After do |scenario|
puts "Oh no" if scenario.failed?
end
Before('@atag') do |scenario|
end
#Also AfterStep, AfterConfiguration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment