Skip to content

Instantly share code, notes, and snippets.

@npverni
Created March 17, 2010 21:59
Show Gist options
  • Select an option

  • Save npverni/335772 to your computer and use it in GitHub Desktop.

Select an option

Save npverni/335772 to your computer and use it in GitHub Desktop.
# add this to ./features/support/hooks.rb
After('@debug') do
puts response.body
end
# tag any features with @debug to get the output printed
# especially handy for testing json and xml responses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment