From 211652002f4e814662bace5bfd7c14dbbe0c8336 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 24 Sep 2011 13:14:04 +0000 Subject: [PATCH] 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 --- test/unit/mailer_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb index a1f85cde1..72ed1dec6 100644 --- a/test/unit/mailer_test.rb +++ b/test/unit/mailer_test.rb @@ -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