docbrown/app/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.rb Update bust_article to BustArticle (#11931) 2020-12-17 12:20:44 -05:00
bust_multiple_caches_worker.rb Use Sidekiq::Job module alias for Sidekiq::Worker (#17526) 2022-05-02 11:12:58 -05:00
enrich_image_attributes_worker.rb Use Sidekiq::Job module alias for Sidekiq::Worker (#17526) 2022-05-02 11:12:58 -05:00
publish_worker.rb Fix bugs with article moderator notifications (and make tests less flaky) (#19688) 2023-07-14 17:29:45 +02:00
score_calc_worker.rb Use Sidekiq::Job module alias for Sidekiq::Worker (#17526) 2022-05-02 11:12:58 -05:00
update_organic_page_views_worker.rb Remove expensive query which is not necessary within app logic (#18689) 2022-11-07 17:04:54 -05:00
update_page_views_worker.rb Use Sidekiq::Job module alias for Sidekiq::Worker (#17526) 2022-05-02 11:12:58 -05:00