]> source.dussan.org Git - redmine.git/commitdiff
use "assert_not" instead of "refute" at MailHandlerTest#test_add_issue_with_private_k...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 3 Jun 2020 16:11:04 +0000 (16:11 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 3 Jun 2020 16:11:04 +0000 (16:11 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19806 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/mail_handler_test.rb

index 6abb18458b64ee7b1b35188bd5b6631cc36e8355..3a91a7d10d5740443c0ba80f32630b3e796e6488 100644 (file)
@@ -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