]> git.openstreetmap.org Git - rails.git/blob - test/factories/relation_member.rb
Simplify creation of bearer authorization headers
[rails.git] / test / factories / relation_member.rb
1 FactoryBot.define do
2   factory :relation_member do
3     sequence(:sequence_id)
4     member_role { "" }
5
6     relation
7     # Default to creating nodes, but could be ways or relations as members
8     member :factory => :node
9   end
10 end