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
push_frontend_feature_flag(:ci_instance_variables_ui, default_enabled: true)
end
VALID_SETTING_PANELS = %w(general integrations repository
VALID_SETTING_PANELS = %w(general repository
ci_cd reporting metrics_and_profiling
network preferences).freeze
......
......@@ -142,7 +142,7 @@ RSpec.describe Admin::ApplicationSettingsController do
end
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
let(:action) { valid_action }
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