summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-20 17:46:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-20 17:46:02 +0000
commitd34ea9a56986a524382641de987f818bbd0131e4 (patch)
treec9a09706ca3ac5e3b650faed3192c7418bd2a348 /test
parentbb1fccb7b7202ec065fdc39646067054580d278f (diff)
downloadredmine-d34ea9a56986a524382641de987f818bbd0131e4.tar.gz
redmine-d34ea9a56986a524382641de987f818bbd0131e4.zip
Versions can now be created with no date.
Versions with no date appear at the end of the roadmap, sorted by name. git-svn-id: http://redmine.rubyforge.org/svn/trunk@536 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/versions.yml9
-rw-r--r--test/functional/projects_controller_test.rb2
2 files changed, 10 insertions, 1 deletions
diff --git a/test/fixtures/versions.yml b/test/fixtures/versions.yml
index 89a738abd..bf08660d5 100644
--- a/test/fixtures/versions.yml
+++ b/test/fixtures/versions.yml
@@ -15,3 +15,12 @@ versions_002:
id: 2
description: Stable release
effective_date: 2006-07-19
+versions_003:
+ created_on: 2006-07-19 21:00:33 +02:00
+ name: "2.0"
+ project_id: 1
+ updated_on: 2006-07-19 21:00:33 +02:00
+ id: 3
+ description: Future version
+ effective_date:
+ \ No newline at end of file
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb
index 6e76be2d1..69d5ed912 100644
--- a/test/functional/projects_controller_test.rb
+++ b/test/functional/projects_controller_test.rb
@@ -109,7 +109,7 @@ class ProjectsControllerTest < Test::Unit::TestCase
get :changelog, :id => 1
assert_response :success
assert_template 'changelog'
- assert_not_nil assigns(:fixed_issues)
+ assert_not_nil assigns(:versions)
end
def test_roadmap