docbrown/spec/lib/data_update_scripts
Fernando Valverde c2982ef0fc
Ensure Article's username method returns a downcased string (#11813)
* Adds a lower() query to the DB in Stories#show

* Restructure spec

* bypass article callbacks in order to test edge case

* Fixes spec

* Change the approach to unsure downcase path in Article model

* Move .downcase call to set_caches before_save callback

* Adds data update script for fixing offending Article paths

* Moves model tests to correct block

* Apply suggestions from code review

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-12-09 12:56:40 -06:00
..
cleanup_articles_with_invalid_feed_source_url_spec.rb [deploy] Remove draft articles with duplicate feed source URL and cleanup invalid data: take 2 (#10239) 2020-09-08 11:53:41 -05:00
create_profile_fields_spec.rb Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
index_chat_channel_memberships_to_elasticsearch_spec.rb Clear Elasticsearch Data Instead of Resetting Entire Index for Specs (#7602) 2020-04-30 11:59:10 -04:00
make_tags_with_mods_supported_spec.rb Automatically mark tag supported when adding mod (#11151) 2020-10-30 09:46:10 -04:00
populate_explicit_follow_points_spec.rb Add implicit points to follows to improve feed relevancy (in all algorithms) (#11513) 2020-11-25 16:09:51 -05:00
re_index_feed_content_and_users_to_elasticsearch_spec.rb [deploy] Changes to profile field indexing (#10313) 2020-09-16 17:15:22 -04:00
reindex_listing_search_column_spec.rb [deploy] Bug Fix:Rename Listing Search Field in Elasticsearch to Fix Searching (#9609) 2020-08-03 10:18:17 -05:00
reindex_users_for_username_search_spec.rb Copy username to search_fields (#11045) 2020-11-02 08:38:15 -06:00
remove_reaction_index_by_name_spec.rb Bug Fix:Remove Reaction Index By Name (#10430) 2020-09-25 10:34:29 +07:00
resync_elasticsearch_documents_spec.rb Clear Elasticsearch Data Instead of Resetting Entire Index for Specs (#7602) 2020-04-30 11:59:10 -04:00
set_onboarding_profile_fields_for_existing_forems_spec.rb Replace the "setup onboarding profile fields" temp rake task with a data update script (#11800) 2020-12-08 17:50:43 +02:00
touch_articles_with_capitalized_paths_spec.rb Ensure Article's username method returns a downcased string (#11813) 2020-12-09 12:56:40 -06:00
update_article_main_image_path_spec.rb [deploy] Store Article's main_image path unprocessed (#10867) 2020-10-16 14:46:37 -04:00
update_articles_cached_entities_spec.rb Rubocop: Move from OpenStruct to Struct in Organization (#9431) 2020-07-30 21:04:05 +07:00