code layout clean up of test_reply_posted_message_id at test/unit/mailer_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7502 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-09-24 13:14:04 +00:00
parent af3c96e0af
commit 211652002f
1 changed files with 3 additions and 1 deletions

View File

@ -229,7 +229,9 @@ class MailerTest < ActiveSupport::TestCase
assert_equal Mailer.message_id_for(message.parent), mail.references.first.to_s
assert_select_email do
# link to the reply
assert_select "a[href=?]", "http://mydomain.foo/boards/#{message.board.id}/topics/#{message.root.id}?r=#{message.id}#message-#{message.id}", :text => message.subject
assert_select "a[href=?]",
"http://mydomain.foo/boards/#{message.board.id}/topics/#{message.root.id}?r=#{message.id}#message-#{message.id}",
:text => message.subject
end
end