mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-06 01:08:50 +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
|
|
@ -162,7 +162,7 @@ class UserTest < ActiveSupport::TestCase
|
|||
def test_generate_token_updates_token
|
||||
old_token = @admin_user.token
|
||||
@admin_user.generate_token
|
||||
assert_not_equal old_token, @admin_user.token
|
||||
refute_equal old_token, @admin_user.token
|
||||
end
|
||||
|
||||
def test_find_admin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue