From 55e89e95fee3ea9814f50e1fc4f54463a57ac32d Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Mon, 8 Apr 2019 13:21:54 +1200 Subject: [PATCH] Fix a deprecation warning --- spec/factories/photos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/factories/photos.rb b/spec/factories/photos.rb index 5d3ef467c..b0a64331e 100644 --- a/spec/factories/photos.rb +++ b/spec/factories/photos.rb @@ -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" }