diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-14 11:14:12 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-14 11:14:12 +0000 |
commit | 7b7a1a3ed59d41708bd3e5b1aa617426e7627ca5 (patch) | |
tree | c7d0b740116cae0a9c158f6106fdfb64e7b839f1 /test/unit/query_test.rb | |
parent | a66fe49e0bedc38eea8ce14ad3949c7e0eb5bb3e (diff) | |
download | redmine-7b7a1a3ed59d41708bd3e5b1aa617426e7627ca5.tar.gz redmine-7b7a1a3ed59d41708bd3e5b1aa617426e7627ca5.zip |
code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18653 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/query_test.rb')
-rw-r--r-- | test/unit/query_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index b1af2a06b..3a2b25e45 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -106,8 +106,8 @@ class QueryTest < ActiveSupport::TestCase project_filter = query.available_filters["project_id"] assert_not_nil project_filter project_ids = project_filter[:values].map{|p| p[1]} - assert project_ids.include?("1") #public project - assert !project_ids.include?("2") #private project user cannot see + assert project_ids.include?("1") # public project + assert !project_ids.include?("2") # private project user cannot see end def test_available_filters_should_not_include_fields_disabled_on_all_trackers @@ -1159,7 +1159,7 @@ class QueryTest < ActiveSupport::TestCase IssueRelation.delete_all with_settings :cross_project_issue_relations => '1' do IssueRelation.create!(:relation_type => "relates", :issue_from => Issue.find(1), :issue_to => Project.find(2).issues.first) - #IssueRelation.create!(:relation_type => "relates", :issue_from => Issue.find(2), :issue_to => Project.find(1).issues.first) + # IssueRelation.create!(:relation_type => "relates", :issue_from => Issue.find(2), :issue_to => Project.find(1).issues.first) IssueRelation.create!(:relation_type => "relates", :issue_from => Issue.find(1), :issue_to => Project.find(3).issues.first) end |