##// END OF EJS Templates
code layout clean up of test_reply_posted_message_id at test/unit/mailer_test.rb...
Toshi MARUYAMA -
r7382:211652002f4e
parent child
Show More
@@ -229,7 +229,9 class MailerTest < ActiveSupport::TestCase
229 assert_equal Mailer.message_id_for(message.parent), mail.references.first.to_s
229 assert_equal Mailer.message_id_for(message.parent), mail.references.first.to_s
230 assert_select_email do
230 assert_select_email do
231 # link to the reply
231 # link to the reply
232 assert_select "a[href=?]", "http://mydomain.foo/boards/#{message.board.id}/topics/#{message.root.id}?r=#{message.id}#message-#{message.id}", :text => message.subject
232 assert_select "a[href=?]",
233 "http://mydomain.foo/boards/#{message.board.id}/topics/#{message.root.id}?r=#{message.id}#message-#{message.id}",
234 :text => message.subject
233 end
235 end
234 end
236 end
235
237
General Comments 0
You need to be logged in to leave comments. Login now