Adds assertions for r9572.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9577 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-04-29 07:47:58 +00:00
parent 6143d119fe
commit 99cfca6f83
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ class IssueCategoriesControllerTest < ActionController::TestCase
get :new, :project_id => '1' get :new, :project_id => '1'
assert_response :success assert_response :success
assert_template 'new' assert_template 'new'
assert_select 'input[name=?]', 'issue_category[name]'
end end
def test_create def test_create
@ -86,6 +87,7 @@ class IssueCategoriesControllerTest < ActionController::TestCase
get :edit, :id => 2 get :edit, :id => 2
assert_response :success assert_response :success
assert_template 'edit' assert_template 'edit'
assert_select 'input[name=?][value=?]', 'issue_category[name]', 'Recipes'
end end
def test_update def test_update