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:
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