]> git.openstreetmap.org Git - rails.git/blob - test/factories/relation_member.rb
Move Way.to_xml and to_xml_node out of the model and into tests
[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     association :member, :factory => :node
8   end
9 end