Validate existence of user ID
Add shoulda-matchers
Attach photo of chicken rice
Attachment must be present
Check if key exists
Fix typo, add file and user ID
Add key to images
Check if image saved and a key exists
Generate keys before create
Add concern to create unique keys
Remove debug
Check key using before validation callback
Refactor to move upload logic away from test case
Expect short URL to work for image