From 6d2cc2fbd76eb47732b220b6c9b76844b5677edf Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 3 Jun 2020 16:08:47 +0000 Subject: [PATCH] add parentheses to nested method call in MailHandlerTest#test_safe_receive_should_rescue_exceptions_and_return_false git-svn-id: http://svn.redmine.org/redmine/trunk@19805 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/mail_handler_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb index 07532d82e..6abb18458 100644 --- a/test/unit/mail_handler_test.rb +++ b/test/unit/mail_handler_test.rb @@ -1277,7 +1277,7 @@ class MailHandlerTest < ActiveSupport::TestCase end def test_safe_receive_should_rescue_exceptions_and_return_false - MailHandler.stubs(:receive).raises(StandardError.new "Something went wrong") + MailHandler.stubs(:receive).raises(StandardError.new("Something went wrong")) assert_equal false, MailHandler.safe_receive end