Create an old_relation_member factory, and start using it for tests.
[rails.git] / test / factories / old_relation_member.rb
1 FactoryGirl.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