diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-10-22 20:32:05 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-10-22 20:32:05 +0000 |
commit | d0bbe830ad5b14844bdc2c7a85ec9fb6696247fd (patch) | |
tree | 792e4d0a195ce05d0809f34ce30c65b2f1723532 | |
parent | dc26fd215b83a665f9ce2659a406fcc1f1926044 (diff) | |
download | redmine-d0bbe830ad5b14844bdc2c7a85ec9fb6696247fd.tar.gz redmine-d0bbe830ad5b14844bdc2c7a85ec9fb6696247fd.zip |
Adds a failing test for #6350.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4276 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/functional/gantts_controller_test.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/functional/gantts_controller_test.rb b/test/functional/gantts_controller_test.rb index 9aba1d5aa..2ba4776cb 100644 --- a/test/functional/gantts_controller_test.rb +++ b/test/functional/gantts_controller_test.rb @@ -20,6 +20,15 @@ class GanttsControllerTest < ActionController::TestCase i = Issue.find(2) assert_select "div a.issue", /##{i.id}/ end + + should "work without issue due dates" do + Issue.update_all("due_date = NULL") + + get :show, :project_id => 1 + assert_response :success + assert_template 'show.html.erb' + assert_not_nil assigns(:gantt) + end should "work cross project" do get :show |