mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-01 05:31:48 +01:00
Switch assert_not_equal to refute_equal
Preferring to use minitest methods here instead of test-unit.
This commit is contained in:
parent
dea3b1b58e
commit
71c95c0d01
4 changed files with 7 additions and 7 deletions
|
|
@ -29,7 +29,7 @@ class RecurringTodosTest < ActionDispatch::IntegrationTest
|
|||
rt.reload # then there should be two todos referencing
|
||||
assert_equal 2, rt.todos.size
|
||||
todo2 = Todo.where(:recurring_todo_id => rt.id, :state => 'active').first
|
||||
assert_not_equal todo2.id, todo.id # and the todos should be different
|
||||
refute_equal todo2.id, todo.id # and the todos should be different
|
||||
|
||||
# when I delete the recurring todo
|
||||
delete_via_redirect "/recurring_todos/#{rt.id}", :_source_view => 'todo'
|
||||
|
|
@ -40,4 +40,4 @@ class RecurringTodosTest < ActionDispatch::IntegrationTest
|
|||
assert todo.recurring_todo_id.nil?
|
||||
assert todo2.recurring_todo_id.nil?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue