]> git.openstreetmap.org Git - rails.git/blob - test/factories/relation_member.rb
Use implicit style for associations with factory overrides
[rails.git] / test / factories / relation_member.rb
1 FactoryBot.define do
2   factory :relation_member do
3     member_role { "" }
4
5     relation
6     # Default to creating nodes, but could be ways or relations as members
7     member :factory => :node
8   end
9 end