]> git.openstreetmap.org Git - rails.git/blob - test/factories/old_node.rb
Authorize actions on GeocoderController with CanCanCan Ability
[rails.git] / test / factories / old_node.rb
1 FactoryBot.define do
2   factory :old_node do
3     latitude 1 * GeoRecord::SCALE
4     longitude 1 * GeoRecord::SCALE
5
6     changeset
7     association :current_node, :factory => :node
8
9     visible true
10     timestamp Time.now
11     version 1
12   end
13 end