Skip to content

Instantly share code, notes, and snippets.

@ryanjm
Forked from jnicklas/gist:122818
Created March 29, 2010 19:40
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 ryanjm/348308 to your computer and use it in GitHub Desktop.
Save ryanjm/348308 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