Browse Source

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
tags/4.1.0
Toshi MARUYAMA 4 years ago
parent
commit
cc8750f7dd
2 changed files with 1 additions and 2 deletions
  1. 0
    1
      .rubocop_todo.yml
  2. 1
    1
      test/unit/issue_test.rb

+ 0
- 1
.rubocop_todo.yml View File

@@ -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'

+ 1
- 1
test/unit/issue_test.rb View File

@@ -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


Loading…
Cancel
Save