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:
parent
af3c96e0af
commit
211652002f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue