diff --git a/ee/spec/models/authz/user_admin_role_spec.rb b/ee/spec/models/authz/user_admin_role_spec.rb index fb507426cb06c22d6658d572f224643b337b0139..e734c0bd6a1bc7b5199c7f424d05c209a2468da9 100644 --- a/ee/spec/models/authz/user_admin_role_spec.rb +++ b/ee/spec/models/authz/user_admin_role_spec.rb @@ -47,7 +47,8 @@ context 'when a user has join record' do let!(:join_record) { create(:user_admin_role, user: user, admin_role: admin_role_2) } - it 'updates the existing record with the new role' do + it 'updates the existing record with the new role', + quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/537961' do expect { create_or_update }.to change { described_class.find_by(user: user).admin_role_id }.from(admin_role_2.id).to(admin_role.id)