X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/06915a77b5af2ab0354e895c3c1ceb0e028f37fb..fff14c2fb0e0a512ec28b4cc44640cd88b6a67fc:/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