Skip to content

Instantly share code, notes, and snippets.

@felipero
Created July 21, 2009 22:20
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 felipero/151650 to your computer and use it in GitHub Desktop.
Save felipero/151650 to your computer and use it in GitHub Desktop.
Scenario: Add an invalid new task
Given I am on the tasks page
When I select "December 25, 2010" as the date
And I press "add"
Then I should see "1 error prohibited this task from being saved"
And I should see "Desc can't be blank"
And the selected date for "task[due]" should be "December 25, 2010"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment