Commit 2978625c197b390e2c462aa4ad2a91517bd84f86
1 parent
465fab89
Exists in
master
and in
29 other branches
rails3: fix person_test that was depending of db order
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/unit/person_test.rb
... | ... | @@ -1380,7 +1380,7 @@ class PersonTest < ActiveSupport::TestCase |
1380 | 1380 | u = create_user('user'+i.to_s) |
1381 | 1381 | u.activate |
1382 | 1382 | } |
1383 | - assert_equal deactivated, Person.deactivated | |
1383 | + assert_equivalent deactivated, Person.deactivated | |
1384 | 1384 | end |
1385 | 1385 | |
1386 | 1386 | should 'be able to retrieve memberships by role person has' do | ... | ... |