mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-04 23:11:47 +01:00
fix bug introduced by last commit and add test for it
also refactor check_for_next_todo a bit to depend less on globals
This commit is contained in:
parent
1a2cdc7585
commit
ce671f23f4
8 changed files with 99 additions and 36 deletions
14
test/fixtures/todos.yml
vendored
14
test/fixtures/todos.yml
vendored
|
|
@ -230,3 +230,17 @@ end
|
|||
completed_at: ~
|
||||
show_from: <%= next_week %>
|
||||
user_id: 2
|
||||
|
||||
18:
|
||||
id: 18
|
||||
user_id: 1
|
||||
context_id: 1
|
||||
project_id: 2
|
||||
description: Call Bill Gates every day
|
||||
notes: ~
|
||||
state: active
|
||||
created_at: <%= last_week %>
|
||||
due: <%= last_week %>
|
||||
completed_at: ~
|
||||
show_from: ~
|
||||
recurring_todo_id: 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue