From 99cfca6f83c1412feadcc5b1bb39078c3edae33c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 29 Apr 2012 07:47:58 +0000 Subject: [PATCH] Adds assertions for r9572. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9577 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issue_categories_controller_test.rb | 2 ++ 1 file changed, 2 insertions(+) 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