diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-11 15:09:58 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-11 15:09:58 +0000 |
commit | 62cd7010ef91dcaa5a5a36790985053db0b38671 (patch) | |
tree | 935b69e9d6ad2fe13c5ea0cb0d1bbd0b3413b3ab /spec/features/admin/admin_appearance_spec.rb | |
parent | dcf94a76413ddb50148bdac7b189afb7bffa7580 (diff) | |
download | gitlab-ce-62cd7010ef91dcaa5a5a36790985053db0b38671.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/admin/admin_appearance_spec.rb')
-rw-r--r-- | spec/features/admin/admin_appearance_spec.rb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/spec/features/admin/admin_appearance_spec.rb b/spec/features/admin/admin_appearance_spec.rb index 603e757096f..5596ad7bf21 100644 --- a/spec/features/admin/admin_appearance_spec.rb +++ b/spec/features/admin/admin_appearance_spec.rb @@ -9,7 +9,7 @@ RSpec.describe 'Admin Appearance' do it 'create new appearance' do sign_in(admin) gitlab_enable_admin_mode_sign_in(admin) - visit admin_appearances_path + visit admin_application_settings_appearances_path fill_in 'appearance_title', with: 'MyCompany' fill_in 'appearance_description', with: 'dev server' @@ -17,7 +17,7 @@ RSpec.describe 'Admin Appearance' do fill_in 'appearance_profile_image_guidelines', with: 'Custom profile image guidelines' click_button 'Update appearance settings' - expect(current_path).to eq admin_appearances_path + expect(current_path).to eq admin_application_settings_appearances_path expect(page).to have_content 'Appearance' expect(page).to have_field('appearance_title', with: 'MyCompany') @@ -31,7 +31,7 @@ RSpec.describe 'Admin Appearance' do sign_in(admin) gitlab_enable_admin_mode_sign_in(admin) - visit admin_appearances_path + visit admin_application_settings_appearances_path click_link "Sign-in page" expect_custom_sign_in_appearance(appearance) @@ -41,7 +41,7 @@ RSpec.describe 'Admin Appearance' do sign_in(admin) gitlab_enable_admin_mode_sign_in(admin) - visit admin_appearances_path + visit admin_application_settings_appearances_path click_link "New project page" expect_custom_new_project_appearance(appearance) @@ -55,7 +55,7 @@ RSpec.describe 'Admin Appearance' do context 'when system header and footer messages are empty' do it 'shows custom system header and footer fields' do - visit admin_appearances_path + visit admin_application_settings_appearances_path expect(page).to have_field('appearance_header_message', with: '') expect(page).to have_field('appearance_footer_message', with: '') @@ -70,7 +70,7 @@ RSpec.describe 'Admin Appearance' do end it 'shows custom system header and footer fields' do - visit admin_appearances_path + visit admin_application_settings_appearances_path expect(page).to have_field('appearance_header_message', with: appearance.header_message) expect(page).to have_field('appearance_footer_message', with: appearance.footer_message) @@ -99,7 +99,7 @@ RSpec.describe 'Admin Appearance' do before do sign_in(create(:admin)) gitlab_enable_admin_mode_sign_in(admin) - visit admin_appearances_path + visit admin_application_settings_appearances_path fill_in 'appearance_profile_image_guidelines', with: 'Custom profile image guidelines, please :smile:!' click_button 'Update appearance settings' end @@ -115,7 +115,7 @@ RSpec.describe 'Admin Appearance' do it 'appearance logo' do sign_in(admin) gitlab_enable_admin_mode_sign_in(admin) - visit admin_appearances_path + visit admin_application_settings_appearances_path attach_file(:appearance_logo, logo_fixture) click_button 'Update appearance settings' @@ -128,7 +128,7 @@ RSpec.describe 'Admin Appearance' do it 'header logos' do sign_in(admin) gitlab_enable_admin_mode_sign_in(admin) - visit admin_appearances_path + visit admin_application_settings_appearances_path attach_file(:appearance_header_logo, logo_fixture) click_button 'Update appearance settings' @@ -141,7 +141,7 @@ RSpec.describe 'Admin Appearance' do it 'Favicon' do sign_in(admin) gitlab_enable_admin_mode_sign_in(admin) - visit admin_appearances_path + visit admin_application_settings_appearances_path attach_file(:appearance_favicon, logo_fixture) click_button 'Update appearance settings' |