diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-07 19:42:36 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-07 19:42:36 +0000 |
commit | b8982008036624581c1eaa8f92adaa383fafd04e (patch) | |
tree | d0cd057d76e6a662bd8e1df8d654c0246b892e6f /test/unit/project_test.rb | |
parent | 4715a37937cb30192df17a7db18c5f31f24463b0 (diff) | |
download | redmine-b8982008036624581c1eaa8f92adaa383fafd04e.tar.gz redmine-b8982008036624581c1eaa8f92adaa383fafd04e.zip |
Select projects with issue_tracking module for gantt display and remove the nil start/due dates trick.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4477 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/project_test.rb')
-rw-r--r-- | test/unit/project_test.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index c77d7e61d..87452ceb9 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -882,14 +882,6 @@ class ProjectTest < ActiveSupport::TestCase should "be nil if there are no issues on the project" do assert_nil @project.start_date end - - should "be nil if issue tracking is disabled" do - Issue.generate_for_project!(@project, :start_date => Date.today) - @project.enabled_modules.find_all_by_name('issue_tracking').each {|m| m.destroy} - @project.reload - - assert_nil @project.start_date - end should "be tested when issues have no start date" @@ -913,14 +905,6 @@ class ProjectTest < ActiveSupport::TestCase should "be nil if there are no issues on the project" do assert_nil @project.due_date end - - should "be nil if issue tracking is disabled" do - Issue.generate_for_project!(@project, :due_date => Date.today) - @project.enabled_modules.find_all_by_name('issue_tracking').each {|m| m.destroy} - @project.reload - - assert_nil @project.due_date - end should "be tested when issues have no due date" |