mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-26 18:31:14 +00:00
code cleanup: rubocop: fix Style/TrailingCommaInArguments in test/unit/issue_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18529 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
97fb2876d5
commit
83d5633a5f
@ -1578,13 +1578,6 @@ Style/SymbolProc:
|
||||
Style/TernaryParentheses:
|
||||
Enabled: false
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyleForMultiline.
|
||||
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
||||
Style/TrailingCommaInArguments:
|
||||
Exclude:
|
||||
- 'test/unit/issue_test.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyleForMultiline.
|
||||
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
||||
|
||||
@ -1419,7 +1419,7 @@ class IssueTest < ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
def test_copy_should_clear_subtasks_target_version_if_locked_or_closed
|
||||
version = Version.new(:project => Project.find(1), :name => '2.1',)
|
||||
version = Version.new(:project => Project.find(1), :name => '2.1')
|
||||
version.save!
|
||||
|
||||
parent = Issue.generate!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user