discourse/spec/services
David Taylor 0f3720395a
DEV: Refactor test-specific setting overrides into rails_helper.rb (#35594)
Having overridden defaults in the test environment can be quite
confusing. This commit moves them from `environments/test` into
`spec/rails_helper`, and also makes them overrides on the 'local process
provider' rather than the defaults provider. This means that the
defaults remain 100% consistent with production, and these overrides
work just like a user-initiated override.

Also updates a number of specs which were changing settings in
surprising ways, or relying on the incorrect defaults.

Motivation is that I'm updating qunit to pull the default site settings
from Rails, and was getting differing behavior in the development vs.
test rails environments. (ref #35477)
2025-10-27 10:14:56 +00:00
..
admin_notices DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
discourse_id DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
experiments
flags DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
notifications
problem_check DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
site_setting DEV: Move backfill into SiteSetting::Update service (#32037) 2025-03-28 12:01:56 +08:00
themes FIX: Add delete button to themes grid (#34606) 2025-08-29 10:09:23 +08:00
user FIX: bug when silence user and do nothing to post (#33819) 2025-07-25 10:31:22 +08:00
video_conversion DEV: Have media convert service set s3 output permissions (#35392) 2025-10-15 12:38:25 -06:00
anonymous_shadow_creator_spec.rb UX: Improve naming for anonymous mode settings (#31832) 2025-03-21 04:54:06 +03:00
auto_silence_spec.rb FIX: Moderator notifications when new post auto-silences a user (#35403) 2025-10-15 16:07:56 +08:00
badge_granter_spec.rb FIX: error when trying to un-favorite badge (#32369) 2025-04-22 15:36:48 +08:00
base_bookmarkable_spec.rb
category_hashtag_data_source_spec.rb UX: Show parent category name for category hashtags (#31188) 2025-02-05 12:31:50 +10:00
color_scheme_revisor_spec.rb FEATURE: Ability to set palettes as default on theme (#34480) 2025-08-27 09:09:34 +08:00
destroy_task_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
email_settings_exception_handler_spec.rb
email_settings_validator_spec.rb
email_style_updater_spec.rb
external_upload_manager_spec.rb
flag_sockpuppets_spec.rb
group_action_logger_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
group_mentions_updater_spec.rb
group_message_spec.rb
hashtag_autocomplete_service_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
heat_settings_updater_spec.rb
inline_uploads_multisite_spec.rb
inline_uploads_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
locale_normalizer_spec.rb FIX: Show localization for regionless locale if they exist (#33702) 2025-07-21 15:45:14 +08:00
notification_emailer_spec.rb
post_action_notifier_spec.rb
post_alerter_spec.rb FEATURE: disable link notification user preference (#35352) 2025-10-14 10:53:05 +02:00
post_bookmarkable_spec.rb
post_owner_changer_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
problem_check_spec.rb
push_notification_pusher_spec.rb DEV: Migrate from sprockets to propshaft for assets (#32475) 2025-04-30 08:59:32 +01:00
random_topic_selector_spec.rb
search_indexer_spec.rb FEATURE: Add full-text search for chat messages (#34704) 2025-10-22 11:30:35 +02:00
sidebar_site_settings_backfiller_spec.rb DEV: Hand-pick Rails/WhereNot autofixes (#35117) 2025-10-03 13:29:22 +02:00
site_settings_spec.rb DEV: Refactor test-specific setting overrides into rails_helper.rb (#35594) 2025-10-27 10:14:56 +00:00
staff_action_logger_spec.rb UX: show SCSS files in theme admin "extra files" section (#35300) 2025-10-09 16:18:03 -04:00
tag_hashtag_data_source_spec.rb
theme_settings_migrations_runner_spec.rb
themes_spec.rb
topic_bookmarkable_spec.rb
topic_status_updater_spec.rb DEV: don't mark messages as unread when they are closed (#35451) 2025-10-16 19:21:32 +02:00
topic_timestamp_changer_spec.rb DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
trust_level_granter_spec.rb
user_activator_spec.rb
user_anonymizer_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
user_authenticator_spec.rb
user_destroyer_spec.rb FIX: Staff action log logs in default locale when a user deletes themselves (#32503) 2025-04-29 12:32:29 +08:00
user_merger_spec.rb DEV: Merge bookmarks when merging two users (#34567) 2025-08-29 09:25:05 +08:00
user_notification_schedule_processor_spec.rb
user_password_expirer_spec.rb
user_silencer_spec.rb
user_stat_count_updater_spec.rb
user_suspender_spec.rb
user_updater_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
username_changer_spec.rb UX: improve quote title alignment, wrapping (#33796) 2025-07-23 16:21:55 -04:00
username_checker_service_spec.rb
wildcard_domain_checker_spec.rb
wildcard_url_checker_spec.rb
word_watcher_spec.rb FIX: wildcard watched word and regexps (#35217) 2025-10-06 20:49:02 +02:00