diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-01 21:12:02 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-01 21:12:02 +0300 |
commit | fb7b3d71b179f877dca72d86eccf29eeb9f883b7 (patch) | |
tree | 5d48b4763e2fd918b467b0955bc0e8b60fe771c9 /spec/features/users | |
parent | faa19db44a5a4d0fb7a3be07319ca6201caa185a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/users')
-rw-r--r-- | spec/features/users/signup_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/features/users/signup_spec.rb b/spec/features/users/signup_spec.rb index 30441dac7b6..132a3f557e4 100644 --- a/spec/features/users/signup_spec.rb +++ b/spec/features/users/signup_spec.rb @@ -283,6 +283,12 @@ RSpec.describe 'Signup' do expect(page).to have_current_path user_registration_path, ignore_query: true expect(page.body).not_to match(/#{new_user.password}/) end + + context 'with invalid email', :saas, :js do + it_behaves_like 'user email validation' do + let(:path) { new_user_registration_path } + end + end end context 'when terms are enforced' do |