summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-29 07:47:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-29 07:47:58 +0000
commit99cfca6f83c1412feadcc5b1bb39078c3edae33c (patch)
tree828c2d7cdd9bdf883cc4a7b2310447d1a25dbaa4 /test
parent6143d119fec244b196d4e50e0f9ee24a9c7c36dd (diff)
downloadredmine-99cfca6f83c1412feadcc5b1bb39078c3edae33c.tar.gz
redmine-99cfca6f83c1412feadcc5b1bb39078c3edae33c.zip
Adds assertions for r9572.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9577 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/issue_categories_controller_test.rb2
1 files changed, 2 insertions, 0 deletions
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