get tag view working for updating todos. Refactored update a lot

This commit is contained in:
Reinier Balt 2011-01-01 18:55:53 +01:00
parent 1cea27ccc9
commit f923a40a40
15 changed files with 314 additions and 215 deletions

View file

@ -27,3 +27,9 @@ Feature: Edit a context
Scenario: Editing the context of the last todo will remove the todo and show empty message
Given this scenario is pending
Scenario: Adding a todo to a hidden project will not show the todo
Given this scenario is pending
Scenario: Adding a todo to a hidden context will show that todo
Given this scenario is pending

View file

@ -62,3 +62,9 @@ Feature: Show statistics
And I should see 5 todos
And I should see "to return to the statistics page"
And I should see "to show the actions from week 0 and further"
Scenario: I can edit the todos selected from a chart
Given this scenario is pending
Scenario: Marking a todo selected from a chart as complete will remove it from the page
Given this scenario is pending

View file

@ -0,0 +1,40 @@
Feature: Tagging todos
In order to organise my todos in various lists
As a Tracks user
I want to to be able to add or edit one or more tags to todos
Background:
Given the following user record
| login | password | is_admin |
| testuser | secret | false |
And I have logged in as "testuser" with password "secret"
Scenario: I can edit a todo to add tags to that todo
Given this is a pending scenario
Scenario: I can add a new todo with tags
Given this is a pending scenario
Scenario: I can show all todos tagged with a specific tag
Given this is a pending scenario
Scenario: I can remove a tag from a todo from the tag view and the tag will be removed
Given this is a pending scenario
Scenario: I can add a new todo from tag view with that tag and it will be added to the page
Given this is a pending scenario
Scenario: I can add a new todo from tag view with a different tag and it will not be added to the page
Given this is a pending scenario
Scenario: I can change the context of a tagged todo in tag view and it will move the tag on the page
Given this is a pending scenario
Scenario: I can defer a tagged todo in tag view and it will move the todo on the page to the deferred container
Given this is a pending scenario
Scenario: I can move a tagged todo in tag view to a hidden project and it will move the todo on the page to the hidden container
Given this is a pending scenario
Scenario: I can move a tagged todo in tag view to a hidden context and it will move the todo on the page to the hidden container
Given this is a pending scenario