docbrown/spec/requests/articles
Anna Buianova 10a02f46d4
Articles update refactoring (#12913)
* Start refactoring articles update

* Articles update refactoring

* Added a couple of tests for Articles::Updater

* Reorganized code in Articles::Updater and ::Attributes a bit

* A couple of more tests for Articles::Attributes

* Reverted changed in the articles_controller

* Edited_at in Articles::Attributes

* Use Articles::Updater in ArticlesController

* Tests for notifications when published/unpublished an article

* Removed old code

* Return result object from Articles::Updater

* Don't reset articles collection when no series was passed

* Fixed sending notifications when published an article the first time

* Fix articles collection when updating

* Fix setting attributes for articles update

* Spec for articles update via api failure

* More tests for Articles::Updater

* More specs for articles updating

* Pass article instead of article_id to articles updater to avoid loading an article twice

* Remove the redundant check in the articles_controller

* Articles::Attributes refactoring
2021-03-10 13:08:36 +03:00
..
articles_admin_unpublish_spec.rb [deploy] [Admin Tooling] Allow admins unpublish articles from the Mod Actions Panel (#10038) 2020-09-02 16:08:08 -05:00
articles_create_spec.rb [deploy] Limit articles created by newer users (#10686) 2020-10-06 21:02:05 -04:00
articles_destroy_spec.rb Change Notifications::RemoveAllJob to Notifications::RemoveAllWorker and move to sidekiq (#5451) 2020-01-15 12:34:12 -05:00
articles_show_spec.rb Replace collective_noun with community_name (#11846) [deploy] 2020-12-28 09:34:17 -07:00
articles_spec.rb Add ability to get latest articles on RSS feed (#11956) 2021-01-06 18:53:06 +01:00
articles_update_spec.rb Articles update refactoring (#12913) 2021-03-10 13:08:36 +03:00
org_redirect_spec.rb Fix infinite redirect loop for articles (#12652) 2021-02-17 08:54:54 +07:00
video_player_show_spec.rb Flaky Spec Fix:Remove let_it_be Test Prof Helper (#9556) 2020-07-29 11:31:01 +02:00