From: Toshi MARUYAMA Date: Wed, 3 Jun 2020 16:11:04 +0000 (+0000) Subject: use "assert_not" instead of "refute" at MailHandlerTest#test_add_issue_with_private_k... X-Git-Tag: 4.2.0~983 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=040b473e5559f67a50f8ab5e05d32be7d50ca1e3;p=redmine.git use "assert_not" instead of "refute" at MailHandlerTest#test_add_issue_with_private_keyword git-svn-id: http://svn.redmine.org/redmine/trunk@19806 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb index 6abb18458..3a91a7d10 100644 --- a/test/unit/mail_handler_test.rb +++ b/test/unit/mail_handler_test.rb @@ -509,7 +509,7 @@ class MailHandlerTest < ActiveSupport::TestCase :allow_override => 'is_private,tracker,category,priority' ) assert issue.is_a?(Issue) - refute issue.new_record? + assert_not issue.new_record? issue.reload assert_equal 'New ticket on a given project', issue.subject assert issue.is_private