X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e731dd71a77ad4ad1e9db22535e89444bb98e5d9..5bb23f6f5f8fed81f1166a15344e44afa7fbb480:/test/factories/relation_member.rb 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