]> git.openstreetmap.org Git - rails.git/blob - test/fixtures/changesets.yml
more boolean correcting
[rails.git] / test / fixtures / changesets.yml
1 # FIXME! all of these changesets need their bounding boxes set correctly!
2
3 <% SCALE = 10000000 unless defined?(SCALE) %>
4
5 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
6 normal_user_first_change:
7   id: 1
8   user_id: 1
9   created_at: "2007-01-01 00:00:00"
10   open: true
11   min_lon: <%= 1 * SCALE %>
12   min_lat: <%= 1 * SCALE %>
13   max_lon: <%= 5 * SCALE %>
14   max_lat: <%= 5 * SCALE %>
15   
16 second_user_first_change:
17   id: 2
18   user_id: 2
19   created_at: "2008-05-01 01:23:45"
20   open: true
21
22 normal_user_closed_change:
23   id: 3
24   user_id: 1
25   created_at: "2007-01-01 00:00:00"
26   open: false
27
28 normal_user_version_change:
29   id: 4
30   user_id: 1
31   created_at: "2008-01-01 00:00:00"
32   open: true
33
34 # changeset to contain all the invalid stuff that is in the
35 # fixtures (nodes outside the world, etc...)
36 invalid_changeset:
37   id: 5
38   user_id: 0
39   created_at: "2008-01-01 00:00:00"
40   open: false
41