Switch assert_not_equal to refute_equal

Preferring to use minitest methods here instead of test-unit.
This commit is contained in:
Matt Rogers 2018-10-19 11:14:14 -05:00
parent dea3b1b58e
commit 71c95c0d01
No known key found for this signature in database
GPG key ID: 605D017C07EB4316
4 changed files with 7 additions and 7 deletions

View file

@ -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