X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6d668f6f3a8514d4cbf28984f80944ba149a0461..ab2acea49be03b8c0d0fccecba2ed172115a5609:/test/fixtures/map_bug_comment.yml diff --git a/test/fixtures/map_bug_comment.yml b/test/fixtures/map_bug_comment.yml index b322c131e..a185c01e0 100644 --- a/test/fixtures/map_bug_comment.yml +++ b/test/fixtures/map_bug_comment.yml @@ -2,77 +2,127 @@ t1: id: 1 bug_id: 1 visible: true - date_created: 2007-01-01 00:00:00 - commenter_name: 'testname' - commenter_ip: '192.168.1.1' - comment: 'This is the initial description of the bug 1' + created_at: 2007-01-01 00:00:00 + author_name: 'testname' + author_ip: '192.168.1.1' + body: 'This is the initial description of the bug 1' t2: id: 2 bug_id: 2 visible: true - date_created: 2007-01-01 00:00:00 - commenter_name: 'testname' - commenter_ip: '192.168.1.1' - comment: 'This is the initial description of the bug 2' + created_at: 2007-01-01 00:00:00 + author_name: 'testname' + author_ip: '192.168.1.1' + body: 'This is the initial description of the bug 2' t3: id: 3 bug_id: 2 visible: true - date_created: 2007-02-01 00:00:00 - commenter_name: 'testname' - commenter_ip: '192.168.1.1' - comment: 'This is an additional comment for bug 2' + created_at: 2007-02-01 00:00:00 + author_name: 'testname' + author_ip: '192.168.1.1' + body: 'This is an additional comment for bug 2' t4: id: 4 bug_id: 3 visible: true - date_created: 2007-01-01 00:00:00 - commenter_name: 'testname' - commenter_ip: '192.168.1.1' - comment: 'This is the initial comment for bug 3' + created_at: 2007-01-01 00:00:00 + author_name: 'testname' + author_ip: '192.168.1.1' + body: 'This is the initial comment for bug 3' t5: id: 5 bug_id: 4 visible: true - date_created: 2007-01-01 00:00:00 - commenter_name: 'testname' - commenter_ip: '192.168.1.1' - comment: 'Spam for bug 4' + created_at: 2007-01-01 00:00:00 + author_name: 'testname' + author_ip: '192.168.1.1' + body: 'Spam for bug 4' t6: id: 6 bug_id: 5 visible: true - date_created: 2007-01-01 00:00:00 - commenter_name: 'testname' - commenter_ip: '192.168.1.1' - comment: 'Valid Comment for bug 5' + created_at: 2007-01-01 00:00:00 + author_name: 'testname' + author_ip: '192.168.1.1' + body: 'Valid comment for bug 5' -t6: +t7: id: 7 bug_id: 5 visible: false - date_created: 2007-02-01 00:00:00 - commenter_name: 'testname' - commenter_ip: '192.168.1.1' - comment: 'Spam for bug 5' + created_at: 2007-02-01 00:00:00 + author_name: 'testname' + author_ip: '192.168.1.1' + body: 'Spam for bug 5' t8: id: 8 bug_id: 5 visible: true - date_created: 2007-02-01 00:00:00 - commenter_name: 'testname' - commenter_ip: '192.168.1.1' - comment: 'Another valid comment for bug 5' + created_at: 2007-02-01 00:00:00 + author_name: 'testname' + author_ip: '192.168.1.1' + body: 'Another valid comment for bug 5' + +t9: + id: 9 + bug_id: 6 + visible: true + created_at: 2007-01-01 00:00:00 + event: opened + author_id: 1 + body: 'This is a bug with from a logged-in user' + + +t10: + id: 10 + bug_id: 6 + visible: true + created_at: 2007-02-01 00:00:00 + event: commented + author_id: 4 + body: 'A comment from another logged-in user' + + +t11: + id: 11 + bug_id: 7 + visible: true + event: opened + created_at: 2007-01-01 00:00:00 + author_name: 'testname' + author_ip: '192.168.1.1' + body: 'Initial bug description' + + +t12: + id: 12 + bug_id: 7 + visible: true + event: commented + created_at: 2007-02-01 00:00:00 + author_name: 'testname' + author_ip: '192.168.1.1' + body: 'A comment description' + +t13: + id: 13 + bug_id: 7 + visible: true + event: closed + created_at: 2007-03-01 00:00:00 + author_id: 4 +