X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/88f32e3b45596cd695f4cf78c78ea115ee0d16bc..2419a011f0034c6951ddcd1296e74b59fbc12488:/test/factories/relation_member.rb?ds=sidebyside diff --git a/test/factories/relation_member.rb b/test/factories/relation_member.rb index b3f69e3e9..f8e14905e 100644 --- a/test/factories/relation_member.rb +++ b/test/factories/relation_member.rb @@ -1,9 +1,10 @@ -FactoryGirl.define do +FactoryBot.define do factory :relation_member do - member_role "" + 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