1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-23 17:01:13 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2020-06-03 16:08:47 +00:00
parent 60a716151d
commit 6d2cc2fbd7

View 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