Adds a failing test for #6350.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4276 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-10-22 20:32:05 +00:00
parent dc26fd215b
commit d0bbe830ad
1 changed files with 9 additions and 0 deletions

View File

@ -21,6 +21,15 @@ class GanttsControllerTest < ActionController::TestCase
assert_select "div a.issue", /##{i.id}/ assert_select "div a.issue", /##{i.id}/
end 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 should "work cross project" do
get :show get :show
assert_response :success assert_response :success