diff options
Diffstat (limited to 'spec/requests/verifies_with_email_spec.rb')
-rw-r--r-- | spec/requests/verifies_with_email_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/verifies_with_email_spec.rb b/spec/requests/verifies_with_email_spec.rb index 8a6a7e717ff..3184fe151be 100644 --- a/spec/requests/verifies_with_email_spec.rb +++ b/spec/requests/verifies_with_email_spec.rb @@ -42,7 +42,7 @@ feature_category: :user_management do shared_examples_for 'two factor prompt or successful login' do it 'shows the 2FA prompt when enabled or redirects to the root path' do if user.two_factor_enabled? - expect(response.body).to include('Two-factor authentication code') + expect(response.body).to include('Enter verification code') else expect(response).to redirect_to(root_path) end |