expect(Gitlab::Json.parse(confirm_user_data[:modal_attributes])['messageHtml']).toeq('This user has an unconfirmed email address (foo@bar.com). You may force a confirmation.')
end
end
context'when `user.unconfirmed_email` is not set'do
expect(Gitlab::Json.parse(confirm_user_data[:modal_attributes])['messageHtml']).toeq('This user has an unconfirmed email address. You may force a confirmation.')