]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/note_comments.yml
Update tests for change in name from "map_bug" to "note" etc
[rails.git] / test / fixtures / note_comments.yml
similarity index 72%
rename from test/fixtures/map_bug_comment.yml
rename to test/fixtures/note_comments.yml
index a185c01e017acdb5c32ce9b9924cf3d741e94d36..e078b990ad2b56a17a612f6c3cf15677f3e47783 100644 (file)
 t1:
   id: 1
 t1:
   id: 1
-  bug_id: 1
+  note_id: 1
   visible: true
   created_at: 2007-01-01 00:00:00
   author_name: 'testname'
   author_ip: '192.168.1.1'
   visible: true
   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'
-
+  body: 'This is the initial description of the note 1'
 
 t2:
   id: 2
 
 t2:
   id: 2
-  bug_id: 2
+  note_id: 2
   visible: true
   created_at: 2007-01-01 00:00:00
   author_name: 'testname'
   author_ip: '192.168.1.1'
   visible: true
   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'
-
+  body: 'This is the initial description of the note 2'
 
 t3:
   id: 3
 
 t3:
   id: 3
-  bug_id: 2
+  note_id: 2
   visible: true
   created_at: 2007-02-01 00:00:00
   author_name: 'testname'
   author_ip: '192.168.1.1'
   visible: true
   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'
-
+  body: 'This is an additional comment for note 2'
 
 t4:
   id: 4
 
 t4:
   id: 4
-  bug_id: 3
+  note_id: 3
   visible: true
   created_at: 2007-01-01 00:00:00
   author_name: 'testname'
   author_ip: '192.168.1.1'
   visible: true
   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'
+  body: 'This is the initial comment for note 3'
 
 t5:
   id: 5
 
 t5:
   id: 5
-  bug_id: 4
+  note_id: 4
   visible: true
   created_at: 2007-01-01 00:00:00
   author_name: 'testname'
   author_ip: '192.168.1.1'
   visible: true
   created_at: 2007-01-01 00:00:00
   author_name: 'testname'
   author_ip: '192.168.1.1'
-  body: 'Spam for bug 4'
-
+  body: 'Spam for note 4'
 
 t6:
   id: 6
 
 t6:
   id: 6
-  bug_id: 5
+  note_id: 5
   visible: true
   created_at: 2007-01-01 00:00:00
   author_name: 'testname'
   author_ip: '192.168.1.1'
   visible: true
   created_at: 2007-01-01 00:00:00
   author_name: 'testname'
   author_ip: '192.168.1.1'
-  body: 'Valid comment for bug 5'
+  body: 'Valid comment for note 5'
 
 t7:
   id: 7
 
 t7:
   id: 7
-  bug_id: 5
+  note_id: 5
   visible: false
   created_at: 2007-02-01 00:00:00
   author_name: 'testname'
   author_ip: '192.168.1.1'
   visible: false
   created_at: 2007-02-01 00:00:00
   author_name: 'testname'
   author_ip: '192.168.1.1'
-  body: 'Spam for bug 5'
+  body: 'Spam for note 5'
 
 t8:
   id: 8
 
 t8:
   id: 8
-  bug_id: 5
+  note_id: 5
   visible: true
   created_at: 2007-02-01 00:00:00
   author_name: 'testname'
   author_ip: '192.168.1.1'
   visible: true
   created_at: 2007-02-01 00:00:00
   author_name: 'testname'
   author_ip: '192.168.1.1'
-  body: 'Another valid comment for bug 5'
+  body: 'Another valid comment for note 5'
 
 t9:
   id: 9
 
 t9:
   id: 9
-  bug_id: 6
+  note_id: 6
   visible: true
   created_at: 2007-01-01 00:00:00
   event: opened
   author_id: 1
   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'
-
+  body: 'This is a note with from a logged-in user'
 
 t10:
   id: 10
 
 t10:
   id: 10
-  bug_id: 6
+  note_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'
 
   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
 t11:
   id: 11
-  bug_id: 7
+  note_id: 7
   visible: true
   event: opened
   created_at: 2007-01-01 00:00:00
   author_name: 'testname'
   author_ip: '192.168.1.1'
   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'
-
+  body: 'Initial note description'
 
 t12:
   id: 12
 
 t12:
   id: 12
-  bug_id: 7
+  note_id: 7
   visible: true
   event: commented
   created_at: 2007-02-01 00:00:00
   visible: true
   event: commented
   created_at: 2007-02-01 00:00:00
@@ -117,12 +110,8 @@ t12:
 
 t13:
   id: 13
 
 t13:
   id: 13
-  bug_id: 7
+  note_id: 7
   visible: true
   event: closed
   created_at: 2007-03-01 00:00:00
   author_id: 4
   visible: true
   event: closed
   created_at: 2007-03-01 00:00:00
   author_id: 4
-
-
-
-