]> git.openstreetmap.org Git - rails.git/blob - test/factories/old_relation.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / old_relation.rb
1 FactoryBot.define do
2   factory :old_relation do
3     timestamp Time.now
4     visible true
5     version 1
6
7     changeset
8     association :current_relation, :factory => :relation
9   end
10 end