Commit 6520954e266c2ef8ba30e7c23b7c757fa5c0fa62
1 parent
c456fe22
Exists in
master
and in
29 other branches
Ignore order when testing the members_by_role profile method
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/unit/organization_test.rb
... | ... | @@ -407,7 +407,7 @@ class OrganizationTest < ActiveSupport::TestCase |
407 | 407 | person3 = fast_create(Person) |
408 | 408 | community.affiliate(person3, role3) |
409 | 409 | |
410 | - assert_equal [person2, person3], community.members_by_role([role2, role3]) | |
410 | + assert_equivalent [person2, person3], community.members_by_role([role2, role3]) | |
411 | 411 | end |
412 | 412 | |
413 | 413 | should 'return members by role in a json format' do | ... | ... |