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

@ -25,7 +25,7 @@ class NotesControllerTest < ActionController::TestCase
note = users(:admin_user).notes.first
assert_not_equal "test", note.body
refute_equal "test", note.body
post :update, id: note.id, note: {body: "test"}, format: :js
assert_equal "test", note.reload.body
end