X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/27c3edae25e2ee2a3ef0ee0a354447694eef93c6..5a9bac33bfe0f9836f83660c28bdbd80b6a34cf6:/test/factories/old_relation.rb?ds=sidebyside diff --git a/test/factories/old_relation.rb b/test/factories/old_relation.rb index c4b29fad4..facf06dc0 100644 --- a/test/factories/old_relation.rb +++ b/test/factories/old_relation.rb @@ -1,10 +1,10 @@ -FactoryGirl.define do +FactoryBot.define do factory :old_relation do - timestamp Time.now - visible true - version 1 + timestamp { Time.now.utc } + visible { true } + version { 1 } changeset - association :current_relation, :factory => :relation + current_relation :factory => :relation end end