diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 14c0fe2f1..6d48f5e90 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -1223,7 +1223,10 @@ class IssueTest < ActiveSupport::TestCase assert !Issue.new(:due_date => Date.today).overdue? assert !Issue.new(:due_date => 1.day.from_now.to_date).overdue? assert !Issue.new(:due_date => nil).overdue? - assert !Issue.new(:due_date => 1.day.ago.to_date, :status => IssueStatus.find(:first, :conditions => {:is_closed => true})).overdue? + assert !Issue.new(:due_date => 1.day.ago.to_date, + :status => IssueStatus.find(:first, + :conditions => {:is_closed => true}) + ).overdue? end context "#behind_schedule?" do