X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dbd88d893f3c3fce9cafd666b94396988646d81f..1253bdcdc5dc43dc3880751a7255256c292e0ddc:/test/factories/old_relation.rb?ds=inline diff --git a/test/factories/old_relation.rb b/test/factories/old_relation.rb index c4b29fad4..1bc1b36cf 100644 --- a/test/factories/old_relation.rb +++ b/test/factories/old_relation.rb @@ -1,8 +1,8 @@ -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