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