Roles order fixed in test is not essential

This commit is contained in:
Michael Klimenko 2018-03-23 18:24:22 +05:00
parent abd34b5727
commit af3a0da63a
No known key found for this signature in database
GPG key ID: 8104804717433984

View file

@ -235,7 +235,7 @@ describe Admin::ConferencesController do
expect(conference.roles.count).to eq 4 expect(conference.roles.count).to eq 4
expect(conference.roles).to eq [organizer_role, cfp_role, info_desk_role, volunteers_coordinator_role] expect(conference.roles).to match_array [organizer_role, cfp_role, info_desk_role, volunteers_coordinator_role]
end end
end end