[deploy] return cloudinary url to ensure videos are viewable in feeds (#7157)

This commit is contained in:
Molly Struve 2020-04-08 14:47:47 -05:00 committed by GitHub
parent 5c362c6e3c
commit 578d09a54e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -40,6 +40,7 @@ module Search
SOURCE = %i[
id
class_name
cloudinary_video_url
comments_count
flare_tag_hash
main_image

View file

@ -33,8 +33,8 @@ RSpec.describe Search::FeedContent, type: :service do
it "returns fields necessary for the view" do
allow(article1).to receive(:flare_tag).and_return(name: "help", bg_color_hex: nil, text_color_hex: nil)
view_keys = %w[
id title path class_name flare_tag tag_list user_id user published_at_int
published_timestamp readable_publish_date
id title path class_name cloudinary_video_url comments_count flare_tag tag_list user_id user
published_at_int published_timestamp readable_publish_date
]
flare_tag_keys = %w[name bg_color_hex text_color_hex]
user_keys = %w[username name profile_image_90]