##// END OF EJS Templates
added roadmap and activity calls in projects functional tests...
Jean-Philippe Lang -
r368:1493c2a9b4d1
parent child
Show More
@@ -458,6 +458,15 permissions_061:
458 mail_option: false
458 mail_option: false
459 sort: 130
459 sort: 130
460 is_public: true
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 permissions_050:
470 permissions_050:
462 action: history
471 action: history
463 id: 50
472 id: 50
@@ -112,6 +112,20 class ProjectsControllerTest < Test::Unit::TestCase
112 assert_not_nil assigns(:fixed_issues)
112 assert_not_nil assigns(:fixed_issues)
113 end
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 def test_search
129 def test_search
116 get :search, :id => 1
130 get :search, :id => 1
117 assert_response :success
131 assert_response :success
General Comments 0
You need to be logged in to leave comments. Login now