]> git.openstreetmap.org Git - rails.git/blob - test/factories/old_relation_member.rb
Replace factory_girl with factory_bot
[rails.git] / test / factories / old_relation_member.rb
1 FactoryBot.define do
2   factory :old_relation_member do
3     member_role ""
4
5     old_relation
6     # Default to creating nodes, but could be ways or relations as members
7     association :member, :factory => :node
8   end
9 end