Adds a few functional tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3013 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2009-11-07 08:44:56 +00:00
parent 6245f49934
commit 3b9d8c2a72
4 changed files with 100 additions and 7 deletions

View File

@@ -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