From: Toshi MARUYAMA Date: Mon, 30 Sep 2019 02:44:32 +0000 (+0000) Subject: code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/unit/issue_test.rb X-Git-Tag: 4.1.0~526 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cc8750f7dd702fe2861c668b07a2c18ca8501b6a;p=redmine.git code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/unit/issue_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18554 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index aed974770..9c9688831 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -308,7 +308,6 @@ Layout/LeadingCommentSpace: - 'lib/diff.rb' - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' - 'test/integration/issues_test.rb' - - 'test/unit/issue_test.rb' - 'test/unit/project_test.rb' - 'test/unit/query_test.rb' - 'test/unit/user_test.rb' diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index faa23850b..baedfec0f 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -2849,7 +2849,7 @@ class IssueTest < ActiveSupport::TestCase end def test_recently_updated_scope - #should return the last updated issue + # should return the last updated issue assert_equal Issue.reorder("updated_on DESC").first, Issue.recently_updated.limit(1).first end