Commit 7a952136 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Project tests updated.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4179 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent a7fd592d
...@@ -860,6 +860,8 @@ class ProjectTest < ActiveSupport::TestCase ...@@ -860,6 +860,8 @@ class ProjectTest < ActiveSupport::TestCase
assert_nil @project.start_date assert_nil @project.start_date
end end
should "be tested when issues have no start date"
should "be the earliest start date of it's issues" do should "be the earliest start date of it's issues" do
early = 7.days.ago.to_date early = 7.days.ago.to_date
...@@ -889,6 +891,8 @@ class ProjectTest < ActiveSupport::TestCase ...@@ -889,6 +891,8 @@ class ProjectTest < ActiveSupport::TestCase
assert_nil @project.due_date assert_nil @project.due_date
end end
should "be tested when issues have no due date"
should "be the latest due date of it's issues" do should "be the latest due date of it's issues" do
future = 7.days.from_now.to_date future = 7.days.from_now.to_date
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment