diff options
author | Go MAEDA <maeda@farend.jp> | 2022-03-26 03:57:48 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-03-26 03:57:48 +0000 |
commit | 511abef657875474496efb612bb6b7424a22d5d7 (patch) | |
tree | 9a7c94b7139fd62c1175d118610cb420672fda0e /test/unit/query_test.rb | |
parent | 9b25b348c3087e681f8b117d287c233795051a3c (diff) | |
download | redmine-511abef657875474496efb612bb6b7424a22d5d7.tar.gz redmine-511abef657875474496efb612bb6b7424a22d5d7.zip |
Fix RuboCop offense Style/HashSyntax (Don't mix styles in the same hash) (#36824, #30924).
git-svn-id: https://svn.redmine.org/redmine/trunk@21500 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/query_test.rb')
-rw-r--r-- | test/unit/query_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index 4c07d9c39..a2615a30a 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -1240,12 +1240,12 @@ class QueryTest < ActiveSupport::TestCase filter_name = "fixed_version.status" - query = IssueQuery.new(:name => '_', project: Project.find(1)) + query = IssueQuery.new(:name => '_', :project => Project.find(1)) assert_include filter_name, query.available_filters.keys query.filters = {filter_name => {:operator => '=', :values => ['open']}} assert_include issue, find_issues_with_query(query) - query = IssueQuery.new(:name => '_', project: Project.find(1)) + query = IssueQuery.new(:name => '_', :project => Project.find(1)) query.filters = {filter_name => {:operator => '=', :values => ['closed']}} refute_includes find_issues_with_query(query), issue end |