diff --git a/test/fixtures/permissions.yml b/test/fixtures/permissions.yml index a58c7c604..c8e460001 100644 --- a/test/fixtures/permissions.yml +++ b/test/fixtures/permissions.yml @@ -458,6 +458,15 @@ permissions_061: mail_option: false sort: 130 is_public: true +permissions_062: + action: roadmap + id: 63 + description: label_roadmap + controller: projects + mail_enabled: false + mail_option: false + sort: 107 + is_public: true permissions_050: action: history id: 50 diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index c267981e6..644da830d 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -112,6 +112,20 @@ class ProjectsControllerTest < Test::Unit::TestCase assert_not_nil assigns(:fixed_issues) end + def test_roadmap + get :roadmap, :id => 1 + assert_response :success + assert_template 'roadmap' + assert_not_nil assigns(:versions) + end + + def test_activity + get :activity, :id => 1 + assert_response :success + assert_template 'activity' + assert_not_nil assigns(:events_by_day) + end + def test_search get :search, :id => 1 assert_response :success