Skip to content

Instantly share code, notes, and snippets.

@jnicklas
Created June 3, 2009 06:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jnicklas/122818 to your computer and use it in GitHub Desktop.
Save jnicklas/122818 to your computer and use it in GitHub Desktop.
After do |scenario|
if scenario.failed? && scenario.exception.is_a?(Webrat::NotFoundError)
save_and_open_page
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment