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: <%= Time.now.utc + 86400 %>
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: <%= Time.now.utc %>
21 closed_at: <%= Time.now.utc + 86400 %>
24 deleted_user_first_change:
27 created_at: "2007-01-01 00:00:00"
28 closed_at: "2007-01-02 00:00:00"
31 normal_user_closed_change:
34 created_at: "2007-01-01 00:00:00"
35 closed_at: "2007-01-02 00:00:00"
38 public_user_closed_change:
41 created_at: "2007-01-01 00:00:00"
42 closed_at: "2007-01-02 00:00:00"
45 public_user_version_change:
48 created_at: <%= Time.now.utc %>
49 closed_at: <%= Time.now.utc + 86400 %>
50 min_lon: <%= 1 * SCALE %>
51 min_lat: <%= 1 * SCALE %>
52 max_lon: <%= 4 * SCALE %>
53 max_lat: <%= 4 * SCALE %>
56 # changeset to contain all the invalid stuff that is in the
57 # fixtures (nodes outside the world, etc...), but needs to have
62 created_at: "2008-01-01 00:00:00"
63 closed_at: "2008-01-02 00:00:00"
66 # changeset which still has time remaining, but has been closed
67 # by containing too many elements.
68 too_many_elements_changeset:
71 created_at: "2008-01-01 00:00:00"
72 closed_at: <%= Time.now.utc + 86400 %>
73 min_lon: <%= 1 * SCALE %>
74 min_lat: <%= 1 * SCALE %>
75 max_lon: <%= 4 * SCALE %>
76 max_lat: <%= 4 * SCALE %>
77 num_changes: <%= Changeset::MAX_ELEMENTS + 1 %>
79 normal_user_subscribed_change:
82 created_at: "2007-01-01 00:00:00"
83 closed_at: "2007-01-02 00:00:00"