From: Go MAEDA Date: Sat, 26 Mar 2022 04:01:51 +0000 (+0000) Subject: Fix RuboCop offense Rails/RefuteMethods (#36824, #30924). X-Git-Tag: 5.0.0~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d27582644a270a1fe3e9db12ec88d890bb2979d1;p=redmine.git Fix RuboCop offense Rails/RefuteMethods (#36824, #30924). git-svn-id: https://svn.redmine.org/redmine/trunk@21501 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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