]> git.openstreetmap.org Git - rails.git/blob - test/factories/tracepoints.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / tracepoints.rb
1 FactoryBot.define do
2   factory :tracepoint do
3     trackid 1
4     latitude 1 * GeoRecord::SCALE
5     longitude 1 * GeoRecord::SCALE
6     # tile QuadTile.tile_for_point(1,1)
7     timestamp Time.now
8
9     trace
10   end
11 end