mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-03 22:41:48 +01:00
fix failing tests
Includes a monkey patch for Arel that may need to be removed when 4.0.0 final ships
This commit is contained in:
parent
80974fb0d5
commit
08498fee4f
10 changed files with 50 additions and 43 deletions
|
|
@ -28,7 +28,7 @@ class RecurringTodosTest < ActionDispatch::IntegrationTest
|
|||
|
||||
rt.reload # then there should be two todos referencing
|
||||
assert_equal 2, rt.todos.size
|
||||
todo2 = Todo.find(:first, :conditions => {:recurring_todo_id => rt.id, :state => 'active'})
|
||||
todo2 = Todo.where(:recurring_todo_id => rt.id, :state => 'active').first
|
||||
assert_not_equal todo2.id, todo.id # and the todos should be different
|
||||
|
||||
# when I delete the recurring todo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue