X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/783b5e3729228908d7404ae7404af1023501a906..b6b2fe6b8d943a561646995d6b3a7aa6584a4250:/test/factories/relation_member.rb?ds=sidebyside diff --git a/test/factories/relation_member.rb b/test/factories/relation_member.rb index b4498a28d..f8e14905e 100644 --- a/test/factories/relation_member.rb +++ b/test/factories/relation_member.rb @@ -1,9 +1,10 @@ FactoryBot.define do factory :relation_member do + sequence(:sequence_id) member_role { "" } relation # Default to creating nodes, but could be ways or relations as members - association :member, :factory => :node + member :factory => :node end end