mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 07:40:12 +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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue