docbrown/spec/services/notifications
Joshua Wehner bd2e349d86
Fix bugs with article moderator notifications (and make tests less flaky) (#19688)
* Try to mitigate flaky spec by clearing mock space

* Fix for flaky article published spec

* Rubocop

* Tidy up the specs a bit, update the comment

* Modernize article factory (thanks, rubocop)

* Update update spec to use factory

* Use PublishWorker instead of callback

* nth_published_at -> from_newish_author

* Separate published/unpublished specs

* published_at is correct if unchanged

* Add spec for scheduled post
2023-07-14 17:29:45 +02:00
..
milestone Bump rubocop from 1.15.0 to 1.16.0 (#13894) 2021-06-02 09:11:38 -04:00
moderation Fix bugs with article moderator notifications (and make tests less flaky) (#19688) 2023-07-14 17:29:45 +02:00
new_badge_achievement Routine Rubocop fixes (#16838) 2022-03-09 09:32:50 -05:00
new_comment Add spec to ensure we filter by proper user IDs for sending push notifications (#14187) 2021-07-12 08:51:00 -05:00
new_follower Routine rubocop fix on /spec (#19217) 2023-03-21 09:55:26 -04:00
new_mention app/models i18n (#16124) 2022-02-03 13:41:42 -05:00
notifiable_action Context Notifications (#17243) 2022-04-18 10:30:30 +03:00
reactions Fix integer > nil error when sending reaction notifications (#16627) 2022-02-17 16:30:39 -06:00
tag_adjustment_notification [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
welcome_notification Routine rubocop fix on /spec (#19217) 2023-03-21 09:55:26 -04:00
bust_caches_spec.rb Uncache subscribe to comments (#19739) 2023-07-12 17:02:19 +02:00
remove_all_by_action_spec.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
remove_all_spec.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
update_spec.rb Flaky Spec Fix:Remove let_it_be Test Prof Helper (#9556) 2020-07-29 11:31:01 +02:00