X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/03f733c4f4091dc53e391aa74a020681af98a4ff..bb490aca81d8063a9ad8dd8f1a023c709c096792:/test/fixtures/map_bugs.yml diff --git a/test/fixtures/map_bugs.yml b/test/fixtures/map_bugs.yml index c0f6f1fa8..92a02a688 100644 --- a/test/fixtures/map_bugs.yml +++ b/test/fixtures/map_bugs.yml @@ -7,8 +7,8 @@ open_bug: longitude: <%= 1*SCALE %> status: open tile: <%= QuadTile.tile_for_point(1,1) %> - date_created: 2007-01-01 00:00:00 - last_changed: 2007-01-01 00:00:00 + created_at: 2007-01-01 00:00:00 + updated_at: 2007-01-01 00:00:00 open_bug_with_comment: id: 2 @@ -16,8 +16,8 @@ open_bug_with_comment: longitude: <%= 1.1*SCALE %> status: open tile: <%= QuadTile.tile_for_point(1.1,1.1) %> - date_created: 2007-01-01 00:00:00 - last_changed: 2007-02-01 00:00:00 + created_at: 2007-01-01 00:00:00 + updated_at: 2007-02-01 00:00:00 closed_bug_with_comment: id: 3 @@ -25,9 +25,9 @@ closed_bug_with_comment: longitude: <%= 1.2*SCALE %> status: closed tile: <%= QuadTile.tile_for_point(1.2,1.2) %> - date_created: 2007-01-01 00:00:00 - last_changed: 2007-03-01 00:00:00 - date_closed: 2007-03-01 00:00:00 + created_at: 2007-01-01 00:00:00 + updated_at: 2007-03-01 00:00:00 + closed_at: 2007-03-01 00:00:00 hidden_bug_with_comment: id: 4 @@ -35,8 +35,8 @@ hidden_bug_with_comment: longitude: <%= 1.3*SCALE %> status: hidden tile: <%= QuadTile.tile_for_point(1.3,1.3) %> - date_created: 2007-01-01 00:00:00 - last_changed: 2007-03-01 00:00:00 + created_at: 2007-01-01 00:00:00 + updated_at: 2007-03-01 00:00:00 bug_with_hidden_comment: id: 5 @@ -44,6 +44,26 @@ bug_with_hidden_comment: longitude: <%= 1.4*SCALE %> status: open tile: <%= QuadTile.tile_for_point(1.4,1.4) %> - date_created: 2007-01-01 00:00:00 - last_changed: 2007-03-01 00:00:00 + created_at: 2007-01-01 00:00:00 + updated_at: 2007-03-01 00:00:00 + +bug_with_comments_by_users: + id: 6 + latitude: <%= 1.5*SCALE %> + longitude: <%= 1.5*SCALE %> + status: open + tile: <%= QuadTile.tile_for_point(1.5,1.5) %> + created_at: 2007-01-01 00:00:00 + updated_at: 2007-03-01 00:00:00 + + +bug_closed__by_user: + id: 7 + latitude: <%= 1.6*SCALE %> + longitude: <%= 1.6*SCALE %> + status: closed + tile: <%= QuadTile.tile_for_point(1.6,1.6) %> + created_at: 2007-01-01 00:00:00 + updated_at: 2007-03-01 00:00:00 + closed_at: 2007-03-01 00:00:00