docbrown/spec/models
Vaidehi Joshi 502bef156e
Allow an article's main_image to be removed (#5687) [deploy]
Currently, we don't allow users to remove the `main_image` of an article once it has been set. It can be changed, but never removed.
This change allows the `main_image` to be removed by checking for the `cover_image` key in the frontmatter that is sent along in the article's markdown. This means that a user should be able to remove the image associated with an article by removing the value of `cover_image:` from their frontmatter.
2020-03-10 08:29:59 -07:00
..
concerns create searchable specs and remove redundant specs from AR models (#6450) [deploy] 2020-03-04 15:09:53 -05:00
shared_examples Various optimizations (#6249) [deploy] 2020-02-25 13:42:24 -05:00
webhook
api_secret_spec.rb
application_record_spec.rb Switch decorators to Rails builtin decorations - take 2 (#6125) [deploy] 2020-02-19 15:30:53 -05:00
article_destroy_spec.rb Move Articles::ScoreCalcJob to Sidekiq (#5875) [deploy] 2020-02-04 10:01:46 -08:00
article_spec.rb Allow an article's main_image to be removed (#5687) [deploy] 2020-03-10 08:29:59 -07:00
audit_log_spec.rb
backup_data_spec.rb
badge_achievement_spec.rb
badge_spec.rb
banished_user_spec.rb
block_spec.rb
buffer_update_spec.rb
chat_channel_membership_spec.rb create searchable specs and remove redundant specs from AR models (#6450) [deploy] 2020-03-04 15:09:53 -05:00
chat_channel_spec.rb
classified_listing_spec.rb create searchable specs and remove redundant specs from AR models (#6450) [deploy] 2020-03-04 15:09:53 -05:00
collection_spec.rb
comment_spec.rb Remove Algolia from Comments (#6464) [deploy] 2020-03-05 11:30:25 -08:00
credit_spec.rb
data_update_script_spec.rb Fix scripts startup check for development mode (#6520) 2020-03-09 17:15:21 +01:00
display_ad_event_spec.rb
display_ad_spec.rb Sanitisation of Ads (#6361) [deploy] 2020-02-28 13:20:34 -05:00
email_authorization_spec.rb [deploy] Add EmailAuthorization model (#6335) 2020-03-02 12:14:24 -05:00
event_spec.rb
feedback_message_spec.rb
follow_spec.rb Replace peform_enqueued_jobs with sidekiq_perform_enqueued_jobs in specs (#6454) 2020-03-04 11:39:48 -07:00
github_issue_spec.rb
github_repo_spec.rb
html_variant_spec.rb
html_variant_success_spec.rb
html_variant_trial_spec.rb
identity_spec.rb
job_opportunity_spec.rb
mention_spec.rb
message_spec.rb Feature🚀: Ability to mention anyone in open chats and notify them (#5460) [deploy] 2020-01-23 18:06:35 -05:00
note_spec.rb
notification_spec.rb Handle Reactions Without Users When Sending Notifications (#5820) 2020-02-07 14:10:52 -05:00
notification_subscription_spec.rb
organization_membership_spec.rb
organization_spec.rb
page_spec.rb Refactor Podcasts Bust Cache job (#5421) 2020-01-28 12:40:32 -05:00
page_view_spec.rb Remove UserHistory Feature and PageViews from Algolia (#6127) [deploy] 2020-02-18 10:06:30 -05:00
podcast_episode_spec.rb Index Articles and Podcast Episodes to Elasticsearch (#6488) [deploy] 2020-03-06 16:39:36 -05:00
podcast_spec.rb Refactor Podcasts Bust Cache job (#5421) 2020-01-28 12:40:32 -05:00
poll_option_spec.rb
poll_skip_spec.rb
poll_spec.rb
poll_vote_spec.rb
pro_membership_spec.rb
profile_pin_spec.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
rating_vote_spec.rb Create implicit experience level rating vote upon creating of readinglist reaction (#6522) [deploy] 2020-03-10 10:59:49 -04:00
reaction_spec.rb Replace peform_enqueued_jobs with sidekiq_perform_enqueued_jobs in specs (#6454) 2020-03-04 11:39:48 -07:00
role_spec.rb Add mod channel automation to tags (#5731) [deploy] 2020-02-06 16:27:12 -05:00
sponsorship_spec.rb Fix Sponsorship validations to take expiration date into an account (#6276) 2020-02-25 16:41:28 -05:00
tag_adjustment_spec.rb
tag_spec.rb create searchable specs and remove redundant specs from AR models (#6450) [deploy] 2020-03-04 15:09:53 -05:00
tweet_spec.rb Bump Twitter to 7.0 and refactor TwitterBot (#6246) [deploy] 2020-02-24 08:34:41 -05:00
user_block_spec.rb
user_counter_spec.rb User counters using PostgreSQL JSON (#5373) [deploy] 2020-02-03 10:35:08 -05:00
user_spec.rb Index users into elasticsearch (#6489) [deploy] 2020-03-06 14:12:02 -05:00