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>2022-09-20 02:18:09 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-20 02:18:09 +0300
commit6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde (patch)
treedc4d20fe6064752c0bd323187252c77e0a89144b /spec/frontend/fixtures/startup_css.rb
parent9868dae7fc0655bd7ce4a6887d4e6d487690eeed (diff)
Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42
Diffstat (limited to 'spec/frontend/fixtures/startup_css.rb')
-rw-r--r--spec/frontend/fixtures/startup_css.rb16
1 files changed, 15 insertions, 1 deletions
diff --git a/spec/frontend/fixtures/startup_css.rb b/spec/frontend/fixtures/startup_css.rb
index cf7383fa6ca..bd2d63a1827 100644
--- a/spec/frontend/fixtures/startup_css.rb
+++ b/spec/frontend/fixtures/startup_css.rb
@@ -69,11 +69,25 @@ RSpec.describe 'Startup CSS fixtures', type: :controller do
it_behaves_like 'startup css project fixtures', 'dark'
end
- describe RegistrationsController, '(Startup CSS fixtures)', type: :controller do
+ describe SessionsController, '(Startup CSS fixtures)', type: :controller do
+ include DeviseHelpers
+
+ before do
+ set_devise_mapping(context: request)
+ end
+
it 'startup_css/sign-in.html' do
get :new
expect(response).to be_successful
end
+
+ it 'startup_css/sign-in-old.html' do
+ stub_feature_flags(restyle_login_page: false)
+
+ get :new
+
+ expect(response).to be_successful
+ end
end
end