From af3c96e0af9547f2ddb9a0bd3381fdac48413870 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 24 Sep 2011 13:13:21 +0000 Subject: [PATCH] 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 --- 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 046766640..a1f85cde1 100644 --- a/test/unit/mailer_test.rb +++ b/test/unit/mailer_test.rb @@ -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