From 040b473e5559f67a50f8ab5e05d32be7d50ca1e3 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 3 Jun 2020 16:11:04 +0000 Subject: [PATCH] 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 --- test/unit/mail_handler_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5