summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-09-26 08:24:51 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-09-26 08:24:51 +0000
commit7a952136e0db215edf0eb6e429380b3e59616649 (patch)
tree70cb5694cdfa59e7b9f75b33e1b0bc6fc863ad62 /test
parenta7fd592db4037d635d04ca5ce3f01d0af3f0c8ae (diff)
downloadredmine-7a952136e0db215edf0eb6e429380b3e59616649.tar.gz
redmine-7a952136e0db215edf0eb6e429380b3e59616649.zip
Project tests updated.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4179 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/project_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb
index b0b5a4837..9b8809c2b 100644
--- a/test/unit/project_test.rb
+++ b/test/unit/project_test.rb
@@ -860,6 +860,8 @@ class ProjectTest < ActiveSupport::TestCase
assert_nil @project.start_date
end
+
+ should "be tested when issues have no start date"
should "be the earliest start date of it's issues" do
early = 7.days.ago.to_date
@@ -889,6 +891,8 @@ class ProjectTest < ActiveSupport::TestCase
assert_nil @project.due_date
end
+
+ should "be tested when issues have no due date"
should "be the latest due date of it's issues" do
future = 7.days.from_now.to_date