Refactor some amf_controller tests to use factories.
[rails.git] / test / factories / relation.rb
1 FactoryGirl.define do
2   factory :relation do
3     timestamp Time.now
4     visible true
5     version 1
6
7     changeset
8
9     trait :deleted do
10       visible false
11     end
12   end
13 end