Created
February 25, 2012 15:59
-
-
Save gretch/1909229 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Feature: Items in scheduled | |
| As an singed up user | |
| I want to manage my todos or projects which placed in scheduled | |
| Background: | |
| Given I am a confirmed user and signed in as "tom@iamtom.com" with password "iamtom" | |
| Scenario: Move a new todo to Scheduled | |
| When I create a todo "To meet David" on "" about "About trip planning" | |
| And I drag todo "To meet David" to place Scheduled | |
| Then I should see "Schedule" | |
| When I fill in "Scheduled at" with the date "tomorrow" | |
| And I fill in "Scheduled Action" with "move_to_today" | |
| And I press "OK" | |
| Then I should have 1 todos in "Scheduled" | |
| And I should have 0 todos in "Today" | |
| When I go to the todos scheduled page | |
| Then I should see "To meet David" | |
| When 1 days pass | |
| Given the taks are updated | |
| Then I should have 0 todos in "Scheduled" | |
| And I should have 1 todos in "Today" | |
| When I go to the todos today page | |
| Then I should see "To meet David" | |
| 1 scenario (1 passed) | |
| 17 steps (17 passed) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment