diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-07 04:02:14 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-07 04:02:14 +0300 |
commit | ff97077fc8908cc231d967aa7e7133198172b326 (patch) | |
tree | 32fed88d6b33b8cfd903a44ddf702e2b99e4e346 /spec/frontend/fixtures/startup_css.rb | |
parent | 183b71521834f47fe2777085ccf001485b546285 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/fixtures/startup_css.rb')
-rw-r--r-- | spec/frontend/fixtures/startup_css.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/frontend/fixtures/startup_css.rb b/spec/frontend/fixtures/startup_css.rb index be2ead756cf..1bd99f5cd7f 100644 --- a/spec/frontend/fixtures/startup_css.rb +++ b/spec/frontend/fixtures/startup_css.rb @@ -40,6 +40,21 @@ RSpec.describe 'Startup CSS fixtures', type: :controller do expect(response).to be_successful end + + # This Feature Flag is off by default + # This ensures that the correct css is generated + # When the feature flag is off, the general startup will capture it + # This will be removed as part of https://gitlab.com/gitlab-org/gitlab/-/issues/339348 + it "startup_css/project-#{type}-search-ff-on.html" do + stub_feature_flags(new_header_search: true) + + get :show, params: { + namespace_id: project.namespace.to_param, + id: project + } + + expect(response).to be_successful + end end describe ProjectsController, '(Startup CSS fixtures)', type: :controller do |