From d27582644a270a1fe3e9db12ec88d890bb2979d1 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sat, 26 Mar 2022 04:01:51 +0000 Subject: [PATCH] Fix RuboCop offense Rails/RefuteMethods (#36824, #30924). git-svn-id: https://svn.redmine.org/redmine/trunk@21501 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/query_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index a2615a30a..d6f7922a1 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -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 -- 2.39.5