Skip to content

Instantly share code, notes, and snippets.

@dillonkearns
Created March 16, 2012 19:01
Show Gist options
  • Save dillonkearns/2051863 to your computer and use it in GitHub Desktop.
Save dillonkearns/2051863 to your computer and use it in GitHub Desktop.
Feature: Show captcha
Scenario: User enters wrong password 3 times
Given the user enters the wrong password 3 times
Then a captcha should be displayed
Scenario: User enters wrong password 2 times, then enters right one
Given the user enters the wrong password 2 times
But the user enters the right password 1 time
Then a captcha should NOT be displayed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment