]> git.openstreetmap.org Git - rails.git/blob - test/factories/old_node.rb
Use node and old_node factories for redaction model tests.
[rails.git] / test / factories / old_node.rb
1 FactoryGirl.define do
2   factory :old_node do
3     latitude 1 * GeoRecord::SCALE
4     longitude 1 * GeoRecord::SCALE
5
6     # FIXME: needs changeset factory
7     changeset_id 1
8
9     # FIXME: needs node factory
10     node_id 1000
11
12     visible true
13     timestamp Time.now
14     version 1
15   end
16 end