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:
parent
6143d119fe
commit
99cfca6f83
|
@ -37,6 +37,7 @@ class IssueCategoriesControllerTest < ActionController::TestCase
|
|||
get :new, :project_id => '1'
|
||||
assert_response :success
|
||||
assert_template 'new'
|
||||
assert_select 'input[name=?]', 'issue_category[name]'
|
||||
end
|
||||
|
||||
def test_create
|
||||
|
@ -86,6 +87,7 @@ class IssueCategoriesControllerTest < ActionController::TestCase
|
|||
get :edit, :id => 2
|
||||
assert_response :success
|
||||
assert_template 'edit'
|
||||
assert_select 'input[name=?][value=?]', 'issue_category[name]', 'Recipes'
|
||||
end
|
||||
|
||||
def test_update
|
||||
|
|
Loading…
Reference in New Issue