diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-23 15:58:53 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-23 15:58:53 +0000 |
commit | 1493c2a9b4d1104bb5ee90df8b591d8391986036 (patch) | |
tree | 86186dc33d2fa0c47af2aea3a133077d72e54777 /test/functional/projects_controller_test.rb | |
parent | 724ca74f51e01e5f5d43fc8b9264de285f163713 (diff) | |
download | redmine-1493c2a9b4d1104bb5ee90df8b591d8391986036.tar.gz redmine-1493c2a9b4d1104bb5ee90df8b591d8391986036.zip |
added roadmap and activity calls in projects functional tests
git-svn-id: http://redmine.rubyforge.org/svn/trunk@371 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-rw-r--r-- | test/functional/projects_controller_test.rb | 14 |
1 files changed, 14 insertions, 0 deletions
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 |