mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-07 17:58:50 +01:00
Little fix to make test pass
This commit is contained in:
parent
2c3b3d9d69
commit
c85c5fd957
1 changed files with 1 additions and 1 deletions
|
|
@ -374,7 +374,7 @@ class TodosControllerTest < Test::Rails::TestCase
|
|||
assert todo_1.completed?
|
||||
|
||||
# check there is a new todo linked to the recurring pattern
|
||||
next_todo = Todo.find_by_recurring_todo_id(recurring_todo_1.id)
|
||||
next_todo = Todo.find(:first, :conditions => {:recurring_todo_id => recurring_todo_1.id, :state => 'active'})
|
||||
assert_equal "Call Bill Gates every day", next_todo.description
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue