Open bluengreen opened 8 years ago
Hey @bluengreen can we add a small test for this please?
Also, what about squashing these commits?
Thanks!
Is there an existing test for that code?
I don't think we have a test for the thumbnail generation. I'll say that is fine add this to https://github.com/assembler/attachinary/blob/master/spec/features/notes_spec.rb.
Also if you can add a bit of context to this PR, I know that cloudinary defaults to resource_type: image
, but why we are doing this instead of using resource_type: auto
for example.
Added resource_type to $cloudinary.url call to get correct url for video thumbnails