diff options
author | Go MAEDA <maeda@farend.jp> | 2022-03-26 04:01:51 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-03-26 04:01:51 +0000 |
commit | d27582644a270a1fe3e9db12ec88d890bb2979d1 (patch) | |
tree | 02b560beb5c0cc0198876989a79faa24b548b385 /test | |
parent | 511abef657875474496efb612bb6b7424a22d5d7 (diff) | |
download | redmine-d27582644a270a1fe3e9db12ec88d890bb2979d1.tar.gz redmine-d27582644a270a1fe3e9db12ec88d890bb2979d1.zip |
Fix RuboCop offense Rails/RefuteMethods (#36824, #30924).
git-svn-id: https://svn.redmine.org/redmine/trunk@21501 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/query_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |