git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9577 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/2.0.0
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 | ||||
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 |