]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/messages.yml
now you will actually save the changeset on updating ways. Showing the changeset...
[rails.git] / test / fixtures / messages.yml
index d66ebd6f030c363c630eec5e42746248c38d113c..22fab186322bca351586e0297f3d89aa98b4b15a 100644 (file)
@@ -1,12 +1,16 @@
 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
 one:
 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
 one:
-  id: 1
-  from_user_id: users(:normal_user).id
+  from_user_id: 1
   title: test message 1
   body: some body text
   sent_on: "2008-05-01 12:34:56"
   message_read: false
   title: test message 1
   body: some body text
   sent_on: "2008-05-01 12:34:56"
   message_read: false
-  to_user_id: users(:second_user).id
+  to_user_id: 2
   
 two:
   
 two:
-  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