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:
parent
60a716151d
commit
6d2cc2fbd7
@ -1277,7 +1277,7 @@ class MailHandlerTest < ActiveSupport::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_safe_receive_should_rescue_exceptions_and_return_false
|
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
|
assert_equal false, MailHandler.safe_receive
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user