summaryrefslogtreecommitdiffstats
path: root/test/functional/versions_controller_test.rb
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/functional/versions_controller_test.rb
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/functional/versions_controller_test.rb')
-rw-r--r--test/functional/versions_controller_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/versions_controller_test.rb b/test/functional/versions_controller_test.rb
index 3477c5edd..3a118701a 100644
--- a/test/functional/versions_controller_test.rb
+++ b/test/functional/versions_controller_test.rb
@@ -22,7 +22,7 @@ require 'versions_controller'
class VersionsController; def rescue_action(e) raise e end; end
class VersionsControllerTest < Test::Unit::TestCase
- fixtures :projects, :versions, :users, :roles, :members, :enabled_modules
+ fixtures :projects, :versions, :issues, :users, :roles, :members, :enabled_modules
def setup
@controller = VersionsController.new
@@ -60,9 +60,9 @@ class VersionsControllerTest < Test::Unit::TestCase
def test_destroy
@request.session[:user_id] = 2
- post :destroy, :id => 2
+ post :destroy, :id => 3
assert_redirected_to 'projects/settings/ecookbook'
- assert_nil Version.find_by_id(2)
+ assert_nil Version.find_by_id(3)
end
def test_issue_status_by