X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cb87f02642d0097ebc067ca1f9371dde274a41e3..9f3ac8f5cec8c66789f70300dfe0fc54fb3bd9d5:/test/factories/old_relation.rb?ds=sidebyside 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