]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in test/unit/issue_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 23 Nov 2019 14:28:14 +0000 (14:28 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 23 Nov 2019 14:28:14 +0000 (14:28 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19205 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/issue_test.rb

index 095d97589c8409d91335d14786dd0dad07a40c88..d6008938db380a5dff60600e64c9efcc4741e4d9 100644 (file)
@@ -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