Roles order fixed in test is not essential

This commit is contained in:
Michael Klimenko 2018-03-23 18:24:22 +05:00 committed by James Mason
parent 111812025b
commit 30ba7b133b

View file

@ -235,7 +235,7 @@ describe Admin::ConferencesController do
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