Skip to content

Instantly share code, notes, and snippets.

@brandonbloom
Created December 21, 2012 08:52
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 brandonbloom/4351531 to your computer and use it in GitHub Desktop.
Save brandonbloom/4351531 to your computer and use it in GitHub Desktop.
feature 'Contact Form', ->
before ->
goto '/contact/'
scenario 'Send message', ->
fill email: 'test@example.com'
fill message: 'Message!'
click button: 'Send'
has text: 'Thanks for your message!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment