@@ -41,5 +41,13 @@ RSpec.describe Gitlab::Auth::UserAccessDeniedReason do
it{is_expected.toeq"Your account has been deactivated by your administrator. Please log back in from a web browser to reactivate your account at #{Gitlab.config.gitlab.url}"}
end
context'when the user is unconfirmed'do
beforedo
user.update!(confirmed_at: nil)
end
it{is_expected.tomatch/Your primary email address is not confirmed/}