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

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

View File

@ -214,7 +214,9 @@ class MailerTest < ActiveSupport::TestCase
assert_nil mail.references
assert_select_email do
# link to the message
assert_select "a[href=?]", "http://mydomain.foo/boards/#{message.board.id}/topics/#{message.id}", :text => message.subject
assert_select "a[href=?]",
"http://mydomain.foo/boards/#{message.board.id}/topics/#{message.id}",
:text => message.subject
end
end