X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6e5240e1987a429e29d230e811af9176772a8228..97fa344af6c0a79ac7b01598ae5eba555c2c4219:/test/factories/old_relation_member.rb?ds=sidebyside diff --git a/test/factories/old_relation_member.rb b/test/factories/old_relation_member.rb index ad7eeb078..34e0bd310 100644 --- a/test/factories/old_relation_member.rb +++ b/test/factories/old_relation_member.rb @@ -1,9 +1,10 @@ -FactoryGirl.define do +FactoryBot.define do factory :old_relation_member do - member_role "" + sequence(:sequence_id) + member_role { "" } old_relation # Default to creating nodes, but could be ways or relations as members - association :member, :factory => :node + member :factory => :node end end