]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/diary_entries.rb
Set server_url to test.host in test environments
[rails.git] / test / factories / diary_entries.rb
index 666a37ee8e6247c5d8dea8152a9e626a606760d8..4319f2a633ed46188e0d10e8802c6f1cdf3427e3 100644 (file)
@@ -1,4 +1,4 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :diary_entry do
     sequence(:title) { |n| "Diary entry #{n}" }
     sequence(:body) { |n| "This is diary entry #{n}" }
   factory :diary_entry do
     sequence(:title) { |n| "Diary entry #{n}" }
     sequence(:body) { |n| "This is diary entry #{n}" }