]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/messages.yml
More refactoring of common code in object models
[rails.git] / test / fixtures / messages.yml
index 22fab186322bca351586e0297f3d89aa98b4b15a..0a54cce874b218d9a42bf7091612aa9a97277c77 100644 (file)
@@ -1,16 +1,21 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
-one:
+unread_message:
+  id: 1
   from_user_id: 1
   title: test message 1
   body: some body text
   sent_on: "2008-05-01 12:34:56"
   message_read: false
   to_user_id: 2
+  from_user_visible: true
+  to_user_visible: true
   
-two:
+read_message:
+  id: 2
   from_user_id: 2
   title: test message 2
   body: some body test
   sent_on: "2008-05-02 12:45:23"
   message_read: true
   to_user_id: 1
+  from_user_visible: true
+  to_user_visible: true