openstreetmap-website/test/fixtures/messages.yml
Tom Hughes eaad3611b8 Add functional tests for messages
Also fixes various issues in the code discovered while writing
the tests, and adds some named routes for messages.
2012-03-22 23:14:29 +00:00

21 lines
420 B
YAML

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
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