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 public_user_first_change:
20 created_at: <%= DateTime.now.utc %>
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 public_user_closed_change:
34 created_at: "2007-01-01 00:00:00"
35 closed_at: "2007-01-02 00:00:00"
38 public_user_version_change:
41 created_at: <%= Time.now.getutc %>
42 closed_at: <%= DateTime.now + Rational(1,24) %>
43 min_lon: <%= 1 * SCALE %>
44 min_lat: <%= 1 * SCALE %>
45 max_lon: <%= 4 * SCALE %>
46 max_lat: <%= 4 * SCALE %>
49 # changeset to contain all the invalid stuff that is in the
50 # fixtures (nodes outside the world, etc...), but needs to have
55 created_at: "2008-01-01 00:00:00"
56 closed_at: "2008-01-02 00:00:00"
59 # changeset which still has time remaining, but has been closed
60 # by containing too many elements.
61 too_many_elements_changeset:
64 created_at: "2008-01-01 00:00:00"
65 closed_at: <%= DateTime.now + Rational(1,24) %>
66 min_lon: <%= 1 * SCALE %>
67 min_lat: <%= 1 * SCALE %>
68 max_lon: <%= 4 * SCALE %>
69 max_lat: <%= 4 * SCALE %>
70 num_changes: <%= Changeset::MAX_ELEMENTS + 1 %>