diff options
Diffstat (limited to 'spec/features/registrations')
-rw-r--r-- | spec/features/registrations/welcome_spec.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/spec/features/registrations/welcome_spec.rb b/spec/features/registrations/welcome_spec.rb deleted file mode 100644 index 74320b69f19..00000000000 --- a/spec/features/registrations/welcome_spec.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -RSpec.describe 'Welcome screen' do - let(:user) { create(:user) } - - before do - gitlab_sign_in(user) - - visit users_sign_up_welcome_path - end - - it 'shows the email opt in' do - select 'Software Developer', from: 'user_role' - check 'user_email_opted_in' - click_button 'Get started!' - - expect(user.reload.email_opted_in).to eq(true) - end -end |