Fixed some bugs in changeset query code. Added more test cases.
This commit is contained in:
parent
519d402cb2
commit
28839fd150
5 changed files with 75 additions and 10 deletions
9
test/fixtures/changesets.yml
vendored
9
test/fixtures/changesets.yml
vendored
|
@ -30,12 +30,17 @@ normal_user_version_change:
|
|||
user_id: 1
|
||||
created_at: "2008-01-01 00:00:00"
|
||||
open: true
|
||||
min_lon: <%= 1 * SCALE %>
|
||||
min_lat: <%= 1 * SCALE %>
|
||||
max_lon: <%= 4 * SCALE %>
|
||||
max_lat: <%= 4 * SCALE %>
|
||||
|
||||
# changeset to contain all the invalid stuff that is in the
|
||||
# fixtures (nodes outside the world, etc...)
|
||||
# fixtures (nodes outside the world, etc...), but needs to have
|
||||
# a valid user...
|
||||
invalid_changeset:
|
||||
id: 5
|
||||
user_id: 0
|
||||
user_id: 3
|
||||
created_at: "2008-01-01 00:00:00"
|
||||
open: false
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue