Stub cover_image during test (#383)
This commit is contained in:
parent
fa39ef7729
commit
535f3d02b3
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue