@@ -458,6 +458,15 permissions_061: | |||
|
458 | 458 | mail_option: false |
|
459 | 459 | sort: 130 |
|
460 | 460 | is_public: true |
|
461 | permissions_062: | |
|
462 | action: roadmap | |
|
463 | id: 63 | |
|
464 | description: label_roadmap | |
|
465 | controller: projects | |
|
466 | mail_enabled: false | |
|
467 | mail_option: false | |
|
468 | sort: 107 | |
|
469 | is_public: true | |
|
461 | 470 | permissions_050: |
|
462 | 471 | action: history |
|
463 | 472 | id: 50 |
@@ -112,6 +112,20 class ProjectsControllerTest < Test::Unit::TestCase | |||
|
112 | 112 | assert_not_nil assigns(:fixed_issues) |
|
113 | 113 | end |
|
114 | 114 | |
|
115 | def test_roadmap | |
|
116 | get :roadmap, :id => 1 | |
|
117 | assert_response :success | |
|
118 | assert_template 'roadmap' | |
|
119 | assert_not_nil assigns(:versions) | |
|
120 | end | |
|
121 | ||
|
122 | def test_activity | |
|
123 | get :activity, :id => 1 | |
|
124 | assert_response :success | |
|
125 | assert_template 'activity' | |
|
126 | assert_not_nil assigns(:events_by_day) | |
|
127 | end | |
|
128 | ||
|
115 | 129 | def test_search |
|
116 | 130 | get :search, :id => 1 |
|
117 | 131 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now