Stub cover_image during test (#383)

This commit is contained in:
Mac Siri 2018-06-04 17:08:38 -04:00 committed by Ben Halpern
parent fa39ef7729
commit 535f3d02b3

View file

@ -78,6 +78,7 @@ module ApplicationHelper
def cloud_cover_url(url)
return nil unless url.present?
return asset_path("triple-unicorn") if Rails.env.test?
width = 1000
height = 420
quality = "auto"