@@ -21,6 +21,15 class GanttsControllerTest < ActionController::TestCase | |||||
21 | assert_select "div a.issue", /##{i.id}/ |
|
21 | assert_select "div a.issue", /##{i.id}/ | |
22 | end |
|
22 | end | |
23 |
|
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 | |||
|
32 | ||||
24 | should "work cross project" do |
|
33 | should "work cross project" do | |
25 | get :show |
|
34 | get :show | |
26 | assert_response :success |
|
35 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now