mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-08 05:32:37 +01:00
another set of dynamic finder migrations. All non-cucumber tests pass
This commit is contained in:
parent
64a198d45a
commit
ef91dd0c64
18 changed files with 66 additions and 66 deletions
|
|
@ -21,7 +21,7 @@ class RecurringTodosTest < ActionController::IntegrationTest
|
|||
assert_equal 1, rt.todos.size # and it has one todo referencing it
|
||||
|
||||
# when I toggle the todo complete
|
||||
todo = Todo.find_by_recurring_todo_id(1)
|
||||
todo = Todo.where(:recurring_todo_id => 1).first
|
||||
put "/todos/#{todo.id}/toggle_check", :_source_view => 'todo'
|
||||
todo.reload
|
||||
assert todo.completed?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue