openstreetmap-website/test/factories/old_way.rb
Andy Allan cb4f99fef2 Use implicit style for associations with factory overrides
This matches our usage of implicit style for associations generally,
e.g. `user`.
2023-09-06 10:20:23 +01:00

10 lines
171 B
Ruby

FactoryBot.define do
factory :old_way do
timestamp { Time.now.utc }
visible { true }
version { 1 }
changeset
current_way :factory => :way
end
end