##// END OF EJS Templates
Adds assertions for r9572....
Jean-Philippe Lang -
r9394:99cfca6f83c1
parent child
Show More
@@ -37,6 +37,7 class IssueCategoriesControllerTest < ActionController::TestCase
37 37 get :new, :project_id => '1'
38 38 assert_response :success
39 39 assert_template 'new'
40 assert_select 'input[name=?]', 'issue_category[name]'
40 41 end
41 42
42 43 def test_create
@@ -86,6 +87,7 class IssueCategoriesControllerTest < ActionController::TestCase
86 87 get :edit, :id => 2
87 88 assert_response :success
88 89 assert_template 'edit'
90 assert_select 'input[name=?][value=?]', 'issue_category[name]', 'Recipes'
89 91 end
90 92
91 93 def test_update
General Comments 0
You need to be logged in to leave comments. Login now