From: Toshi MARUYAMA Date: Sat, 23 Nov 2019 14:28:14 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in test/unit/issue_test.rb X-Git-Tag: 4.2.0~1435 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8e3d0354a5c22da9ecbeeed77b5c1ebf405a76b0;p=redmine.git cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in test/unit/issue_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19205 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 095d97589..d6008938d 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -2436,9 +2436,11 @@ class IssueTest < ActiveSupport::TestCase assert !Issue.new(:due_date => today).overdue? assert !Issue.new(:due_date => (today + 1.day).to_date).overdue? assert !Issue.new(:due_date => nil).overdue? - assert !Issue.new(:due_date => (today - 1.day).to_date, - :status => IssueStatus.where(:is_closed => true).first - ).overdue? + assert !Issue. + new( + :due_date => (today - 1.day).to_date, + :status => IssueStatus.where(:is_closed => true).first + ).overdue? end test "#behind_schedule? should be false if the issue has no start_date" do