discourse/spec/lib/site_settings
Gary Pendergast 8c17d68e97
DEV: Fix a flaky deprecated settings test (#33996)
Some of the deprecated settings tests set our site settings to be global settings. When the settings are reloaded between tests (see `stub_deprecated_settings!()`), the setting loader (`SiteSettingExtension.setting()`) will check to see if there's a global setting that would override the site setting, and use that value from previous tests.

To fix this, we need to un-global the site setting after the test finishes.
2025-07-31 13:16:04 +10:00
..
db_provider_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
defaults_provider_spec.rb DEV: Add plugin hook for transforming site setting defaults (#20941) 2023-04-05 12:28:16 +01:00
deprecated_settings_spec.rb DEV: Fix a flaky deprecated settings test (#33996) 2025-07-31 13:16:04 +10:00
hidden_provider_spec.rb DEV: support un-hiding site settings programmatically (#32824) 2025-05-20 21:44:56 +02:00
local_process_provider_multisite_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
local_process_provider_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
type_supervisor_spec.rb FEATURE: porting type object to site settings (#32706) 2025-05-13 14:30:24 -03:00
validations_spec.rb DEV: Add setting to tag s3 objects enabling tag based access control policies (#32988) 2025-06-16 13:26:18 +08:00
yaml_loader_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00