mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-04 15:01:48 +01:00
several fixes to recurring todos and adds some named_scopes
fixes case where unmarking a complete todo which belongs to a recurring pattern results in two todos that both keep on recurring. With this fix a new todo will only be created when there are no active todos left belonging to that recurring pattern fixes tests that failed because of previous commits adds some named_scopes, inspired by http://railscasts.com/episodes/108
This commit is contained in:
parent
bd2b410c7b
commit
4a98ee5669
8 changed files with 55 additions and 31 deletions
2
test/fixtures/todos.yml
vendored
2
test/fixtures/todos.yml
vendored
|
|
@ -95,7 +95,7 @@ end
|
|||
completed_at: ~
|
||||
user_id: 1
|
||||
|
||||
7:
|
||||
book:
|
||||
id: 7
|
||||
context_id: 6
|
||||
project_id: 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue