]> source.dussan.org Git - redmine.git/commitdiff
add parentheses to nested method call in MailHandlerTest#test_safe_receive_should_res...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 3 Jun 2020 16:08:47 +0000 (16:08 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 3 Jun 2020 16:08:47 +0000 (16:08 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19805 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/mail_handler_test.rb

index 07532d82e03341e8cdf20afde0b8d3db14fbfb69..6abb18458b64ee7b1b35188bd5b6631cc36e8355 100644 (file)
@@ -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