X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/effb1b7f4170bb7244c4dfffcbe6134fe00e2bc4..49ba5ab6d2e98221246635327eb15dc71c97e67d:/test/factories/old_relation.rb diff --git a/test/factories/old_relation.rb b/test/factories/old_relation.rb index a6e87a38b..facf06dc0 100644 --- a/test/factories/old_relation.rb +++ b/test/factories/old_relation.rb @@ -1,10 +1,10 @@ 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