docbrown/spec/workers/articles
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
..
bust_cache_worker_spec.rb
bust_multiple_caches_worker_spec.rb
enrich_image_attributes_worker_spec.rb
publish_worker_spec.rb Fix bugs with article moderator notifications (and make tests less flaky) (#19688) 2023-07-14 17:29:45 +02:00
score_calc_worker_spec.rb Remove references to article.spaminess_rating (#17235) 2022-04-15 11:43:48 -04:00
update_page_views_worker_spec.rb