]> source.dussan.org Git - redmine.git/commitdiff
Fix RuboCop offense Rails/RefuteMethods (#36824, #30924).
authorGo MAEDA <maeda@farend.jp>
Sat, 26 Mar 2022 04:01:51 +0000 (04:01 +0000)
committerGo MAEDA <maeda@farend.jp>
Sat, 26 Mar 2022 04:01:51 +0000 (04:01 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@21501 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/query_test.rb

index a2615a30a6d8f2fc2d879ae50c35f8d7d64bba93..d6f7922a1640342d38e24d34180b160723776f0c 100644 (file)
@@ -1247,7 +1247,7 @@ class QueryTest < ActiveSupport::TestCase
 
     query = IssueQuery.new(:name => '_', :project => Project.find(1))
     query.filters = {filter_name => {:operator => '=', :values => ['closed']}}
-    refute_includes find_issues_with_query(query), issue
+    assert_not_includes find_issues_with_query(query), issue
   end
 
   def test_filter_on_version_custom_field