docbrown/spec/requests
Daniel Uber 2f1dad4e37
Add reading_time to articles api responses (#13446)
* Add reading_time to articles api responses

Fixes #13436

* Update api docs to match changes to the articles response

* Follow up docs updates

- increment api docs version
- add reading_time to articles/me responses
- add reading time to the show response example format

* Change reading_time attribute to reading_time_minutes

Update the article builder to use `article.reading_time` and present
it as `"reading_time_minutes"`.

Update the api spec to expect the new property name instead of the attribute.

* Update api documentation to reflect the new name

- Change reading_time -> reading_time_minutes.
- I decided to keep the (possibly redundant) description text here.
2021-04-19 17:11:55 -05:00
..
admin Split Settings::Campaign from SiteConfig (#13238) 2021-04-19 10:01:03 +07:00
api/v0 Add reading_time to articles api responses (#13446) 2021-04-19 17:11:55 -05:00
articles Remove SheCoded Specific Code (#13363) 2021-04-12 11:04:58 -07:00
incoming_webhooks/mailchimp Do not set SiteConfig values in specs (#11125) 2020-10-27 15:56:31 -04:00
notifications
oauth
podcasts Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
shared_examples
stories Remove concept of "ongoing" field tests and clarify a/b test instructions/expectations. (#11734) 2020-12-07 13:52:54 -05:00
user Asynchronous organization delete (#13388) 2021-04-19 18:30:35 +03:00
api_secrets_create_spec.rb
api_secrets_destroy_spec.rb
article_approvals_spec.rb
async_info_spec.rb Do not set SiteConfig values in specs (#11125) 2020-10-27 15:56:31 -04:00
badges_spec.rb
chat_channel_memberships_spec.rb Optimization:Dont Notify of Channel Leavings (#10518) 2020-10-02 16:19:54 +02:00
chat_channels_spec.rb Parenthesis consistency for add_role and remove_role (#12661) 2021-02-15 20:35:25 +02:00
collections_spec.rb [deploy] Add index and show pages for series (#9201) 2020-07-29 10:01:52 -04:00
comments_create_spec.rb Add rate limit for new user comments (#12925) 2021-03-16 08:39:31 +07:00
comments_destroy_spec.rb Rubocop: Enable and fix Style/StringConcatenation (#9844) 2020-08-18 14:50:15 +02:00
comments_spec.rb Bump rubocop from 1.9.1 to 1.10.0 (#12700) 2021-02-16 09:14:17 -05:00
comments_update_spec.rb [deploy] Remove redirect on comments#update (#10337) 2020-09-29 15:33:51 -04:00
credits_spec.rb
dashboard_spec.rb [15-min-fix] Fix removing cover img from v2 editor and dashboard link (#13227) 2021-04-12 09:34:30 -04:00
devices_spec.rb [15min fix] Return Device ID upon registration (#13427) 2021-04-19 08:32:57 -06:00
display_ad_events_spec.rb [15-minute fix] Add ThrottledCall to DisplayAdEventsController (#12924) 2021-03-09 09:06:11 +07:00
editor_spec.rb Split Settings::Authentication from SiteConfig (#13095) 2021-04-12 09:41:09 +02:00
email_subscriptions_spec.rb Fix Ruby 2.7 kwargs' warnings & misc spec warnings (#13256) 2021-04-06 16:57:59 -04:00
events_spec.rb Flaky Spec Fix:Remove let_it_be Test Prof Helper (#9556) 2020-07-29 11:31:01 +02:00
feedback_messages_spec.rb Split Settings::Authentication from SiteConfig (#13095) 2021-04-12 09:41:09 +02:00
followings_spec.rb [deploy] Reintroduce sticky_nav changes (ab81f36 & 7f92855) (#10263) 2020-09-09 15:33:13 -04:00
follows_bulk_show_spec.rb
follows_bulk_update_spec.rb Update all followed tag with one click (#11454) 2021-01-05 16:15:37 +01:00
follows_create_spec.rb
follows_show_spec.rb
ga_events_spec.rb Do not set SiteConfig values in specs (#11125) 2020-10-27 15:56:31 -04:00
github_repos_spec.rb Split Settings::Authentication from SiteConfig (#13095) 2021-04-12 09:41:09 +02:00
html_variant_successes_spec.rb
html_variant_trials_spec.rb
image_uploads_spec.rb Refactor:Change Image Article Upload Path to uploads/articles (#12668) 2021-02-15 11:52:00 -06:00
invitations_spec.rb Small Rubocop fixes (#11182) 2020-10-30 14:45:55 +01:00
liquid_embeds_spec.rb
liquid_tags_request_spec.rb [deploy] Add LiquidTagsController (#10241) 2020-09-08 12:07:33 -04:00
listings_spec.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
messages_spec.rb [deploy] Optimization/Bug Fix:Only Send Mentioned User Notifications, not all for every message (#9493) 2020-07-27 11:16:41 -05:00
moderations_spec.rb Parenthesis consistency for add_role and remove_role (#12661) 2021-02-15 20:35:25 +02:00
notification_counts_spec.rb
notification_subscriptions_spec.rb
notifications_spec.rb Configure badge credits by admins (#13145) 2021-03-30 10:58:48 +03:00
onboardings_spec.rb Simplify onboarding images and centralize config around primary/secondary logos (#12118) 2021-02-08 13:26:28 -05:00
open_search_spec.rb [deploy] Remove need for ENV vars during asset precompile (#10349) 2020-09-16 13:57:05 -04:00
organizations_update_spec.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
page_views_spec.rb Extract page view updates into workers (#12686) 2021-02-17 09:24:05 +07:00
pages_spec.rb Revert "Revert "Removed service worker (#12974)" (#13014)" (#13015) 2021-03-17 10:57:56 -04:00
partnerships_spec.rb Do not set SiteConfig values in specs (#11125) 2020-10-27 15:56:31 -04:00
poll_skips_spec.rb
poll_votes_spec.rb
profile_field_groups_request_spec.rb Deployment Task: Update onboarding fields prior to #11629 (#11704) 2020-12-07 14:57:18 -05:00
profile_pins_spec.rb
profiles_request_spec.rb Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
pusher_auth_spec.rb
rating_votes_spec.rb
reactions_spec.rb Add flag link to profile dropdown view (#12862) 2021-04-01 09:26:43 +00:00
reading_list_items_spec.rb [deploy] Fix Reading List Counter Without last_reacted_at Default (#10933) 2020-10-19 13:26:19 -05:00
registrations_spec.rb Split Settings::Authentication from SiteConfig (#13095) 2021-04-12 09:41:09 +02:00
response_templates_spec.rb
search_spec.rb ✂️ Remove search from Connect (#13235) 2021-04-06 13:03:31 -04:00
sidebars_spec.rb Fetch homepage right sidebar async (and don't fetch for narrow screens) 2020-12-13 18:41:47 -05:00
sitemaps_spec.rb
social_previews_spec.rb Remove SheCoded Specific Code (#13363) 2021-04-12 11:04:58 -07:00
stories_index_spec.rb Add missing class back in for signed out featured post on feed (#13445) 2021-04-19 11:00:50 -04:00
stories_show_spec.rb Replace collective_noun with community_name (#11846) [deploy] 2020-12-28 09:34:17 -07:00
stripe_active_cards_spec.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
tag_adjustments_spec.rb
tags_spec.rb
user_blocks_spec.rb
user_subscriptions_spec.rb Improve error message of User Subscriptions (#11689) 2020-12-01 08:41:49 -08:00
users_onboarding_spec.rb Add username to onboarding (#12697) 2021-02-24 10:48:31 -06:00
video_states_update_spec.rb [deploy] Refactor/Feature:Use SiteConfig video_encoder_key For Processing Videos (#10848) 2020-10-15 10:16:50 -05:00
videos_spec.rb