X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e731dd71a77ad4ad1e9db22535e89444bb98e5d9..0a046673d630a4618c27559875ce613465d85d3c:/test/factories/old_node.rb diff --git a/test/factories/old_node.rb b/test/factories/old_node.rb index e129b62f7..985093fad 100644 --- a/test/factories/old_node.rb +++ b/test/factories/old_node.rb @@ -4,10 +4,10 @@ FactoryBot.define do longitude { 1 * GeoRecord::SCALE } changeset - association :current_node, :factory => :node + current_node :factory => :node visible { true } - timestamp { Time.now } + timestamp { Time.now.utc } version { 1 } end end