mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 23:11:12 +00:00
code cleanup: rubocop: fix Layout/SpaceAroundBlockParameters in test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18645 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
940377314b
commit
f3f1fad8de
@ -372,7 +372,6 @@ Layout/SpaceAroundBlockParameters:
|
||||
Exclude:
|
||||
- 'app/controllers/issues_controller.rb'
|
||||
- 'lib/redmine/plugin.rb'
|
||||
- 'test/unit/query_test.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
|
||||
@ -2032,7 +2032,6 @@ class QueryTest < ActiveSupport::TestCase
|
||||
user2 = User.generate!
|
||||
project = Project.find(1)
|
||||
Member.create!(:principal => user1, :project => project.children.visible.first, :role_ids => [1])
|
||||
|
||||
users = IssueQuery.new(:project => project).available_filters["assigned_to_id"]
|
||||
assert_not_nil users
|
||||
assert users[:values].map{|u| u[1]}.include?(user1.id.to_s)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user