@@ -20,6 +20,15 class GanttsControllerTest < ActionController::TestCase | |||
|
20 | 20 | i = Issue.find(2) |
|
21 | 21 | assert_select "div a.issue", /##{i.id}/ |
|
22 | 22 | end |
|
23 | ||
|
24 | should "work without issue due dates" do | |
|
25 | Issue.update_all("due_date = NULL") | |
|
26 | ||
|
27 | get :show, :project_id => 1 | |
|
28 | assert_response :success | |
|
29 | assert_template 'show.html.erb' | |
|
30 | assert_not_nil assigns(:gantt) | |
|
31 | end | |
|
23 | 32 | |
|
24 | 33 | should "work cross project" do |
|
25 | 34 | get :show |
General Comments 0
You need to be logged in to leave comments.
Login now