diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-11-07 08:44:56 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-11-07 08:44:56 +0000 |
commit | 3b9d8c2a72f64b451db700e2d3dba6bb46e070af (patch) | |
tree | 4db756203661e2492a383f68b0e48719c0094068 /test/functional/settings_controller_test.rb | |
parent | 6245f49934d2f2444d4313a800c14e17931f8c0b (diff) | |
download | redmine-3b9d8c2a72f64b451db700e2d3dba6bb46e070af.tar.gz redmine-3b9d8c2a72f64b451db700e2d3dba6bb46e070af.zip |
Adds a few functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3013 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/settings_controller_test.rb')
-rw-r--r-- | test/functional/settings_controller_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/settings_controller_test.rb b/test/functional/settings_controller_test.rb index 1e0c48f0e..f7ff2d16b 100644 --- a/test/functional/settings_controller_test.rb +++ b/test/functional/settings_controller_test.rb @@ -32,6 +32,12 @@ class SettingsControllerTest < ActionController::TestCase @request.session[:user_id] = 1 # admin end + def test_index + get :index + assert_response :success + assert_template 'edit' + end + def test_get_edit get :edit assert_response :success |