mirror of
https://github.com/redmine/redmine.git
synced 2026-02-07 07:10:18 +01: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user