From 3f1bb5c8b2c3f6b53b3176abda65d25c1549aa79 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 3 Dec 2020 13:19:32 +0000 Subject: [PATCH] fix source indent of test/unit/mailer_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20553 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/mailer_test.rb | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb index 85676ca5a..8f098fbaf 100644 --- a/test/unit/mailer_test.rb +++ b/test/unit/mailer_test.rb @@ -880,11 +880,13 @@ class MailerTest < ActiveSupport::TestCase def test_security_notification_should_include_title set_language_if_valid User.find(2).language with_settings :emails_footer => "footer without link" do - assert Mailer.deliver_security_notification( - User.find(2), User.find(2), - message: :notice_account_password_updated, - title: :label_my_account - ) + assert( + Mailer.deliver_security_notification( + User.find(2), User.find(2), + :message => :notice_account_password_updated, + :title => :label_my_account + ) + ) assert_select_email do assert_select "a", false assert_select "h1", :text => I18n.t(:label_my_account) @@ -895,12 +897,14 @@ class MailerTest < ActiveSupport::TestCase def test_security_notification_should_include_link set_language_if_valid User.find(3).language with_settings :emails_footer => "footer without link" do - assert Mailer.deliver_security_notification( - User.find(3), User.find(3), - message: :notice_account_password_updated, - title: :label_my_account, - url: {controller: 'my', action: 'account'} - ) + assert( + Mailer.deliver_security_notification( + User.find(3), User.find(3), + :message => :notice_account_password_updated, + :title => :label_my_account, + :url => {:controller => 'my', :action => 'account'} + ) + ) assert_select_email do assert_select "h1", false assert_select 'a[href=?]', 'http://localhost:3000/my/account', :text => I18n.t(:label_my_account) -- 2.39.5