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