X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f9291ba5764fe104264ae7e3b6a361e11212e8b..0a046673d630a4618c27559875ce613465d85d3c:/test/factories/old_node.rb?ds=inline 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