1 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2 <% SCALE = 10000000 unless defined?(SCALE) %>
6 latitude: <%= 1*SCALE %>
7 longitude: <%= 1*SCALE %>
9 tile: <%= QuadTile.tile_for_point(1,1) %>
10 date_created: 2007-01-01 00:00:00
11 last_changed: 2007-01-01 00:00:00
13 open_bug_with_comment:
15 latitude: <%= 1.1*SCALE %>
16 longitude: <%= 1.1*SCALE %>
18 tile: <%= QuadTile.tile_for_point(1.1,1.1) %>
19 date_created: 2007-01-01 00:00:00
20 last_changed: 2007-02-01 00:00:00
22 closed_bug_with_comment:
24 latitude: <%= 1.2*SCALE %>
25 longitude: <%= 1.2*SCALE %>
27 tile: <%= QuadTile.tile_for_point(1.2,1.2) %>
28 date_created: 2007-01-01 00:00:00
29 last_changed: 2007-03-01 00:00:00
30 date_closed: 2007-03-01 00:00:00
32 hidden_bug_with_comment:
34 latitude: <%= 1.3*SCALE %>
35 longitude: <%= 1.3*SCALE %>
37 tile: <%= QuadTile.tile_for_point(1.3,1.3) %>
38 date_created: 2007-01-01 00:00:00
39 last_changed: 2007-03-01 00:00:00
41 bug_with_hidden_comment:
43 latitude: <%= 1.4*SCALE %>
44 longitude: <%= 1.4*SCALE %>
46 tile: <%= QuadTile.tile_for_point(1.4,1.4) %>
47 date_created: 2007-01-01 00:00:00
48 last_changed: 2007-03-01 00:00:00
50 bug_with_comments_by_users:
52 latitude: <%= 1.5*SCALE %>
53 longitude: <%= 1.5*SCALE %>
55 tile: <%= QuadTile.tile_for_point(1.5,1.5) %>
56 date_created: 2007-01-01 00:00:00
57 last_changed: 2007-03-01 00:00:00
62 latitude: <%= 1.6*SCALE %>
63 longitude: <%= 1.6*SCALE %>
65 tile: <%= QuadTile.tile_for_point(1.6,1.6) %>
66 date_created: 2007-01-01 00:00:00
67 last_changed: 2007-03-01 00:00:00
68 date_closed: 2007-03-01 00:00:00