X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/942e62117ff7f12d40618a94ea3f4e86f8cb25af..2d7e0a397a1b2dbed74f40439c1305b1b48a063e:/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