67 lines
1.7 KiB
YAML
67 lines
1.7 KiB
YAML
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
|
<% SCALE = 10000000 unless defined?(SCALE) %>
|
|
|
|
open_note:
|
|
id: 1
|
|
latitude: <%= 1*SCALE %>
|
|
longitude: <%= 1*SCALE %>
|
|
status: open
|
|
tile: <%= QuadTile.tile_for_point(1,1) %>
|
|
created_at: 2007-01-01 00:00:00
|
|
updated_at: 2007-01-01 00:00:00
|
|
|
|
open_note_with_comment:
|
|
id: 2
|
|
latitude: <%= 1.1*SCALE %>
|
|
longitude: <%= 1.1*SCALE %>
|
|
status: open
|
|
tile: <%= QuadTile.tile_for_point(1.1,1.1) %>
|
|
created_at: 2007-01-01 00:00:00
|
|
updated_at: 2007-02-01 00:00:00
|
|
|
|
closed_note_with_comment:
|
|
id: 3
|
|
latitude: <%= 1.2*SCALE %>
|
|
longitude: <%= 1.2*SCALE %>
|
|
status: closed
|
|
tile: <%= QuadTile.tile_for_point(1.2,1.2) %>
|
|
created_at: 2007-01-01 00:00:00
|
|
updated_at: 2007-03-01 00:00:00
|
|
closed_at: 2007-03-01 00:00:00
|
|
|
|
hidden_note_with_comment:
|
|
id: 4
|
|
latitude: <%= 1.3*SCALE %>
|
|
longitude: <%= 1.3*SCALE %>
|
|
status: hidden
|
|
tile: <%= QuadTile.tile_for_point(1.3,1.3) %>
|
|
created_at: 2007-01-01 00:00:00
|
|
updated_at: 2007-03-01 00:00:00
|
|
|
|
note_with_hidden_comment:
|
|
id: 5
|
|
latitude: <%= 1.4*SCALE %>
|
|
longitude: <%= 1.4*SCALE %>
|
|
status: open
|
|
tile: <%= QuadTile.tile_for_point(1.4,1.4) %>
|
|
created_at: 2007-01-01 00:00:00
|
|
updated_at: 2007-03-01 00:00:00
|
|
|
|
note_with_comments_by_users:
|
|
id: 6
|
|
latitude: <%= 1.5*SCALE %>
|
|
longitude: <%= 1.5*SCALE %>
|
|
status: open
|
|
tile: <%= QuadTile.tile_for_point(1.5,1.5) %>
|
|
created_at: 2007-01-01 00:00:00
|
|
updated_at: 2007-03-01 00:00:00
|
|
|
|
note_closed_by_user:
|
|
id: 7
|
|
latitude: <%= 1.6*SCALE %>
|
|
longitude: <%= 1.6*SCALE %>
|
|
status: closed
|
|
tile: <%= QuadTile.tile_for_point(1.6,1.6) %>
|
|
created_at: 2007-01-01 00:00:00
|
|
updated_at: 2007-03-01 00:00:00
|
|
closed_at: 2007-03-01 00:00:00
|