From: Jean-Philippe Lang Date: Sun, 29 Apr 2012 07:47:58 +0000 (+0000) Subject: Adds assertions for r9572. X-Git-Tag: 2.0.0~101 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=99cfca6f83c1412feadcc5b1bb39078c3edae33c;p=redmine.git Adds assertions for r9572. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9577 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/issue_categories_controller_test.rb b/test/functional/issue_categories_controller_test.rb index 15bee0ccd..86df7ee57 100644 --- a/test/functional/issue_categories_controller_test.rb +++ b/test/functional/issue_categories_controller_test.rb @@ -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