Commit cd5402eb75f2bb9d4bdf1359f7e7ebbe0b09ba54
1 parent
7112cfa5
Exists in
master
and in
29 other branches
[postgres-tests] Avoiding randomness on person test
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/unit/person_test.rb
... | ... | @@ -1050,8 +1050,8 @@ class PersonTest < ActiveSupport::TestCase |
1050 | 1050 | person_1.add_friend(person_2) |
1051 | 1051 | person_1.add_friend(person_3) |
1052 | 1052 | person_1.add_friend(person_4) |
1053 | - assert_equal [person_2, person_3, person_4], person_1.friends | |
1054 | - assert_equal [person_2, person_4], person_1.friends.online | |
1053 | + assert_equivalent [person_2, person_3, person_4], person_1.friends | |
1054 | + assert_equivalent [person_2, person_4], person_1.friends.online | |
1055 | 1055 | end |
1056 | 1056 | |
1057 | 1057 | should 'compose bare jabber id by login plus default hostname' do | ... | ... |