Commit 855a5db7 authored by Justin Ho's avatar Justin Ho

Remove integrations from VALID_SETTING_PANELS

Since it's fully migrated to new integrations, we don't need
the old actions anymore.
parent b1a4eb33
...@@ -16,7 +16,7 @@ class Admin::ApplicationSettingsController < Admin::ApplicationController ...@@ -16,7 +16,7 @@ class Admin::ApplicationSettingsController < Admin::ApplicationController
push_frontend_feature_flag(:ci_instance_variables_ui, default_enabled: true) push_frontend_feature_flag(:ci_instance_variables_ui, default_enabled: true)
end end
VALID_SETTING_PANELS = %w(general integrations repository VALID_SETTING_PANELS = %w(general repository
ci_cd reporting metrics_and_profiling ci_cd reporting metrics_and_profiling
network preferences).freeze network preferences).freeze
......
...@@ -142,7 +142,7 @@ RSpec.describe Admin::ApplicationSettingsController do ...@@ -142,7 +142,7 @@ RSpec.describe Admin::ApplicationSettingsController do
end end
describe 'verify panel actions' do describe 'verify panel actions' do
(Admin::ApplicationSettingsController::VALID_SETTING_PANELS - ['integrations']).each do |valid_action| Admin::ApplicationSettingsController::VALID_SETTING_PANELS.each do |valid_action|
it_behaves_like 'renders correct panels' do it_behaves_like 'renders correct panels' do
let(:action) { valid_action } let(:action) { valid_action }
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment