1 # FIXME! all of these changesets need their bounding boxes set correctly!
3 <% SCALE = 10000000 unless defined?(SCALE) %>
5 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
6 normal_user_first_change:
9 created_at: "2007-01-01 00:00:00"
10 closed_at: <%= DateTime.now + Rational(1,24) %>
11 min_lon: <%= 1 * SCALE %>
12 min_lat: <%= 1 * SCALE %>
13 max_lon: <%= 5 * SCALE %>
14 max_lat: <%= 5 * SCALE %>
17 second_user_first_change:
20 created_at: "2008-05-01 01:23:45"
21 closed_at: <%= DateTime.now + Rational(1,24) %>
24 normal_user_closed_change:
27 created_at: "2007-01-01 00:00:00"
28 closed_at: "2007-01-02 00:00:00"
31 normal_user_version_change:
34 created_at: "2008-01-01 00:00:00"
35 closed_at: <%= DateTime.now + Rational(1,24) %>
36 min_lon: <%= 1 * SCALE %>
37 min_lat: <%= 1 * SCALE %>
38 max_lon: <%= 4 * SCALE %>
39 max_lat: <%= 4 * SCALE %>
42 # changeset to contain all the invalid stuff that is in the
43 # fixtures (nodes outside the world, etc...), but needs to have
48 created_at: "2008-01-01 00:00:00"
49 closed_at: "2008-01-02 00:00:00"
52 # changeset which still has time remaining, but has been closed
53 # by containing too many elements.
54 too_many_elements_changeset:
57 created_at: "2008-01-01 00:00:00"
58 closed_at: <%= DateTime.now + Rational(1,24) %>
59 min_lon: <%= 1 * SCALE %>
60 min_lat: <%= 1 * SCALE %>
61 max_lon: <%= 4 * SCALE %>
62 max_lat: <%= 4 * SCALE %>
63 num_changes: <%= Changeset::MAX_ELEMENTS + 1 %>