]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/changesets.yml
Added a query method for querying bounding boxes, times and users of changesets....
[rails.git] / test / fixtures / changesets.yml
index 03fc36ddfea4f637e765a28824e3fe3ab8f310dd..2047af8d5e2f0fb45807337765050679f6b73c10 100644 (file)
@@ -1,9 +1,17 @@
+# FIXME! all of these changesets need their bounding boxes set correctly!
+# 
+<% SCALE = 10000000 unless defined?(SCALE) %>
+
 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
 normal_user_first_change:
   id: 1
   user_id: 1
   created_at: "2007-01-01 00:00:00"
   open: true
+  min_lon: <%= 1 * SCALE %>
+  min_lat: <%= 1 * SCALE %>
+  max_lon: <%= 5 * SCALE %>
+  max_lat: <%= 5 * SCALE %>
   
 second_user_first_change:
   id: 2
@@ -22,3 +30,12 @@ normal_user_version_change:
   user_id: 1
   created_at: "2008-01-01 00:00:00"
   open: true
+
+# changeset to contain all the invalid stuff that is in the
+# fixtures (nodes outside the world, etc...)
+invalid_changeset:
+  id: 5
+  user_id: 0
+  created_at: "2008-01-01 00:00:00"
+  open: false
+  
\ No newline at end of file