Fix a deprecation warning

This commit is contained in:
Brenda Wallace
2019-04-08 13:21:54 +12:00
parent 302e19776f
commit 55e89e95fe

View File

@@ -4,7 +4,7 @@ FactoryBot.define do
factory :photo do
owner
flickr_photo_id { 1 }
title { Faker::HarryPotter.quote }
title { Faker::Movies::HarryPotter.quote }
license_name { "CC-BY" }
license_url { "http://example.com/license.html" }
thumbnail_url { "http://example.com/#{Faker::File.file_name}.jpg" }