Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-02 06:09:17 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-02 06:09:17 +0300
commit1bcf63a9b247bb8801bb0c39e764c1ef7f2df2dd (patch)
treecc7813ad474a4e7fc58f32cf88e4766957947b91 /spec/controllers/registrations
parenta110ab2161a3b86956ebd8bf1af452c8f22627db (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers/registrations')
-rw-r--r--spec/controllers/registrations/welcome_controller_spec.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/spec/controllers/registrations/welcome_controller_spec.rb b/spec/controllers/registrations/welcome_controller_spec.rb
index 3c631362119..4118754144c 100644
--- a/spec/controllers/registrations/welcome_controller_spec.rb
+++ b/spec/controllers/registrations/welcome_controller_spec.rb
@@ -5,7 +5,7 @@ require 'spec_helper'
RSpec.describe Registrations::WelcomeController, feature_category: :system_access do
let(:user) { create(:user) }
- describe '#welcome' do
+ describe '#show' do
subject(:show) { get :show }
context 'without a signed in user' do
@@ -27,6 +27,14 @@ RSpec.describe Registrations::WelcomeController, feature_category: :system_acces
end
it { is_expected.to render_template(:show) }
+
+ render_views
+
+ it 'has the expected submission url' do
+ show
+
+ expect(response.body).to include("action=\"#{users_sign_up_welcome_path}\"")
+ end
end
context 'when role and setup_for_company is set' do