]> git.openstreetmap.org Git - rails.git/blob - test/factories/node.rb
Create a node factory, and use it for most node model tests
[rails.git] / test / factories / node.rb
1 FactoryGirl.define do
2   factory :node do
3     latitude 1 * GeoRecord::SCALE
4     longitude 1 * GeoRecord::SCALE
5
6     # FIXME: needs changeset factory
7     changeset_id 1
8
9     visible true
10     timestamp Time.now
11     version 1
12   end
13 end