summaryrefslogtreecommitdiffstats
path: root/test/fixtures
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-25 13:26:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-25 13:26:21 +0000
commita92749ef93bbcc4e9a1116bd58d750de3054f78a (patch)
treee42bd285b71f477904b3813a5cb872c216a6c7d9 /test/fixtures
parent03f0236a6ee995363c54f958d66a0abbf0d3a827 (diff)
downloadredmine-a92749ef93bbcc4e9a1116bd58d750de3054f78a.tar.gz
redmine-a92749ef93bbcc4e9a1116bd58d750de3054f78a.zip
Gantt chart: display issues that don't have a due date if they are assigned to a version with a date (#184).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1455 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/issues.yml6
-rw-r--r--test/fixtures/versions.yml2
2 files changed, 6 insertions, 2 deletions
diff --git a/test/fixtures/issues.yml b/test/fixtures/issues.yml
index 48195a7b7..c037624ae 100644
--- a/test/fixtures/issues.yml
+++ b/test/fixtures/issues.yml
@@ -13,6 +13,8 @@ issues_001:
assigned_to_id:
author_id: 2
status_id: 1
+ start_date: <%= 1.day.ago.to_date.to_s(:db) %>
+ due_date: <%= 10.day.from_now.to_date.to_s(:db) %>
issues_002:
created_on: 2006-07-19 21:04:21 +02:00
project_id: 1
@@ -20,13 +22,15 @@ issues_002:
priority_id: 5
subject: Add ingredients categories
id: 2
- fixed_version_id:
+ fixed_version_id: 2
category_id:
description: Ingredients of the recipe should be classified by categories
tracker_id: 2
assigned_to_id: 3
author_id: 2
status_id: 2
+ start_date: <%= 2.day.ago.to_date.to_s(:db) %>
+ due_date:
issues_003:
created_on: 2006-07-19 21:07:27 +02:00
project_id: 1
diff --git a/test/fixtures/versions.yml b/test/fixtures/versions.yml
index bf08660d5..62c5e6f99 100644
--- a/test/fixtures/versions.yml
+++ b/test/fixtures/versions.yml
@@ -14,7 +14,7 @@ versions_002:
updated_on: 2006-07-19 21:00:33 +02:00
id: 2
description: Stable release
- effective_date: 2006-07-19
+ effective_date: <%= 20.day.from_now.to_date.to_s(:db) %>
versions_003:
created_on: 2006-07-19 21:00:33 +02:00
name: "2.0"