mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-11 03:10:34 +08:00
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. |
||
|---|---|---|
| .. | ||
| db_provider_spec.rb | ||
| defaults_provider_spec.rb | ||
| deprecated_settings_spec.rb | ||
| hidden_provider_spec.rb | ||
| local_process_provider_multisite_spec.rb | ||
| local_process_provider_spec.rb | ||
| type_supervisor_spec.rb | ||
| validations_spec.rb | ||
| yaml_loader_spec.rb | ||