diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-06-03 16:08:47 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-06-03 16:08:47 +0000 |
commit | 6d2cc2fbd76eb47732b220b6c9b76844b5677edf (patch) | |
tree | 5be6de49d6386d3d2319065002ccbf86a43f0c65 /test/unit/mail_handler_test.rb | |
parent | 60a716151df0debfec9d05db23312e33f849e320 (diff) | |
download | redmine-6d2cc2fbd76eb47732b220b6c9b76844b5677edf.tar.gz redmine-6d2cc2fbd76eb47732b220b6c9b76844b5677edf.zip |
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
Diffstat (limited to 'test/unit/mail_handler_test.rb')
-rw-r--r-- | test/unit/mail_handler_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |