feat: move Slack config to installation settings (#11548)

- enable Slack Configuration via InstallationConfig
- list Slack integration in super admin settings
This commit is contained in:
Sojan Jose
2025-05-23 01:07:35 -07:00
committed by GitHub
parent 03c0a7c62e
commit c2d8e2ad77
10 changed files with 57 additions and 29 deletions

View File

@@ -49,6 +49,10 @@ RSpec.describe Enterprise::ClearbitLookupService do
end
context 'when Clearbit is not enabled' do
before do
GlobalConfig.clear_cache
end
it 'returns nil without making an API call' do
with_modified_env CLEARBIT_API_KEY: nil do
expect(Net::HTTP).not_to receive(:start)