discourse/spec/jobs
Sam 824c3420e9 DEV: make Jobs.enqueue tests less fragile
Previously we depended on non Sidekiq specific mocking which is not the
official way of testing Sidekiq, this made these tests very fragile

New testing is more robust and complete
2019-01-09 09:51:11 +11:00
..
about_stats_spec.rb Fix randomly failing specs. 2017-03-14 16:28:05 +08:00
auto_expire_user_api_keys.rb FEATURE: Automatically expire keys if not used for a configurable amount of time. (#6264) 2018-08-20 17:36:14 +02:00
auto_queue_handler_spec.rb FEATURE: automatically handle flags and posts that have been waiting in a queue for a long time. Flags will be deferred. Posts waiting for approval will be rejected. Control how old the records need to be with the auto_handle_queued_age site setting. 2017-09-14 12:01:06 -04:00
automatic_group_membership_spec.rb FIX: automatic group membership when using SSO 2018-05-15 01:48:30 +02:00
bulk_grant_trust_level_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
bulk_invite_spec.rb Support ruby 2.5.0 2018-01-09 16:03:17 +01:00
bump_topic_spec.rb FEATURE: Topic timer for bumping a topic in the future 2019-01-04 13:08:04 +00:00
clean_up_associated_accounts_spec.rb DEV: Style and performance improvements 2018-12-11 09:58:20 +00:00
clean_up_crawler_stats_spec.rb FEATURE: control which web crawlers can access using a whitelist or blacklist 2018-03-22 15:41:02 -04:00
clean_up_deprecated_url_site_settings_spec.rb FIX: Remove site settings override for deprecated url site settings. 2018-11-20 11:42:39 +08:00
clean_up_email_logs_spec.rb DEV: Improve Jobs::CleanUpEmailLogs specs. 2018-10-08 11:11:20 +08:00
clean_up_post_reply_keys_spec.rb FEATURE: Clean up PostReplyKey records. 2018-08-23 10:40:02 +08:00
clean_up_unused_staged_users_spec.rb FIX: Staged users were incorrectly created multiple times with same email. 2017-08-10 18:56:15 +09:00
clean_up_uploads_spec.rb FIX: Jobs::CleanUpUploads fails when value of upload data_type is an empty string. 2018-11-30 10:46:39 +08:00
correct_missing_dualstack_urls_spec.rb correct prev commit 2018-09-05 16:11:44 +10:00
crawl_topic_link_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
create_missing_avatars_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
delete_topic_spec.rb DEV: Take 2 Queue jobs in tests by default. 2018-05-31 16:23:23 +08:00
disable_bootstrap_mode_spec.rb FIX: bootstrap mode should not amend setting that is not in default state 2016-05-04 16:46:46 +05:30
download_avatar_from_url_spec.rb FIX: Don't raise error when trying to download avatar from URL. 2017-10-02 12:59:41 +08:00
download_backup_email_spec.rb fix the build 2018-04-25 22:34:23 +02:00
download_profile_background_from_url_spec.rb FEATURE: add profile_background fields into SSO (#5701) 2018-05-07 10:03:26 +02:00
emit_web_hook_event_spec.rb FEATURE: Filter topic and post web hook events by tags (#6726) 2018-12-05 14:44:06 +05:30
enable_bootstrap_mode_spec.rb FIX: bootstrap mode should not amend setting that is not in default state 2016-05-04 16:46:46 +05:30
enqueue_digest_emails_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
export_csv_file_spec.rb Remove assertion to_not raise_error. 2018-05-25 09:57:08 +08:00
feature_topic_users_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
fix_out_of_sync_user_uploaded_avatar_spec.rb correct invalid spec 2018-08-31 15:06:30 +10:00
fix_primary_emails_for_staged_users_spec.rb FIX: Generate webhook payloads before destroy events (#6325) 2018-10-05 16:53:59 +08:00
fix_user_usernames_and_group_names_clash_spec.rb FIX: Rename User#usernames that clashes with Group#name. (#6069) 2018-07-09 16:54:57 +08:00
grant_anniversary_badges_spec.rb FEATURE: Support an end date for user silencing 2017-11-14 13:20:19 -05:00
grant_new_user_of_the_month_badges_spec.rb prevent users with a tiny number of posts to dominate the 'new user of the month' leaderboard 2018-01-29 12:09:17 +01:00
heartbeat_spec.rb FIX: queue heartbeats in readonly modes 2018-08-29 12:36:59 +10:00
invalidate_inactive_admins_spec.rb FIX: invalidating inactive admin emails should mark them as not active 2018-12-12 17:07:49 -05:00
invite_email_spec.rb FIX: Don't try to send invite email when invite was deleted 2018-08-29 12:43:12 +02:00
jobs_base_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
jobs_spec.rb DEV: make Jobs.enqueue tests less fragile 2019-01-09 09:51:11 +11:00
migrate_url_site_settings_spec.rb More URL site settings into a onceoff job. 2018-11-14 20:29:20 +08:00
notify_mailing_list_subscribers_spec.rb PERF: Restrict number of skipped email log for Jobs::UserEmail. 2018-08-21 11:14:43 +08:00
notify_moved_posts_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
pending_flags_reminder_spec.rb Nuke all SiteSetting.stubs from our codebase. 2017-07-07 15:09:14 +09:00
pending_queued_posts_reminder_spec.rb FIX: send the queued posts reminder as a message to moderators instead of an email to the contact_email 2017-09-12 18:00:51 -04:00
pending_users_reminder_spec.rb Don't override count value that has been set by query.count 2017-12-13 18:48:46 -08:00
periodical_updates_spec.rb FEATURE: push post rebake regular task to low priority queue 2019-01-09 08:57:20 +11:00
poll_feed_spec.rb FIX: drop title updates through RSS feeds 2018-08-28 16:25:04 +10:00
poll_mailbox_spec.rb FIX: Relative links in translations should work with subfolder 2018-11-08 23:31:05 +00:00
post_uploads_recovery_spec.rb Rename Jobs::RecoverPostUploads to rerun the job take 2. 2018-09-19 22:40:32 +08:00
process_email_spec.rb FEATURE: retry processing incoming emails on rate limit 2016-08-08 22:28:27 +02:00
process_post_spec.rb FIX: ProcessPost job failed for posts that have no user 2017-12-21 14:45:59 +01:00
publish_topic_to_category_spec.rb DEV: Take 2 Queue jobs in tests by default. 2018-05-31 16:23:23 +08:00
pull_hotlinked_images_spec.rb Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
rebake_all_html_theme_fields_spec.rb FIX: extracted theme JavaScripts for multisite (#6502) 2018-10-18 17:05:34 +11:00
rebake_custom_emoji_posts_spec.rb uses emoji versions for specs (#6276) 2018-08-16 13:45:30 +02:00
recover_user_profile_backgrounds_spec.rb FIX: Onceoff job to fix missing user profile backgrounds. 2018-10-01 16:26:40 +08:00
reindex_search_spec.rb FIX: rebuild index when engine replaced (#5021) 2017-08-16 07:38:34 -04:00
send_system_message_spec.rb FIX: no notification was being sent when a post is hidden by community flags 2017-09-12 15:43:44 -04:00
suspicious_login_spec.rb FIX: Suspicious login detection (#6772) 2018-12-14 16:30:34 +00:00
test_email_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
tl3_promotions_spec.rb FIX: Clarify User.group_locked_trust_level. 2018-11-07 10:27:44 +08:00
toggle_topic_closed_spec.rb DEV: remove exec_sql and replace with mini_sql 2018-06-19 16:13:36 +10:00
topic_reminder_spec.rb DEV: Take 2 Queue jobs in tests by default. 2018-05-31 16:23:23 +08:00
unsilence_users_spec.rb FIX: automatically unsilence users 2018-02-05 17:45:47 +01:00
update_gravatar_spec.rb FIX: don't double request when downloading a file 2018-02-24 12:35:57 +01:00
user_email_spec.rb PERF: Quit out of the email job quickly if disabled (#6423) 2018-10-01 01:15:45 +08:00