Use named paths for messages
This commit is contained in:
parent
52f0ba78ea
commit
011cfa794a
9 changed files with 19 additions and 23 deletions
|
@ -178,6 +178,7 @@ class MessageControllerTest < ActionController::TestCase
|
|||
assert_equal "[OpenStreetMap] Test Message", e.subject
|
||||
assert_match /Test message body/, e.text_part.decoded
|
||||
assert_match /Test message body/, e.html_part.decoded
|
||||
assert_match %r{#{SERVER_URL}/message/read/}, e.text_part.decoded
|
||||
ActionMailer::Base.deliveries.clear
|
||||
m = Message.last
|
||||
assert_equal user.id, m.from_user_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue