##// 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 get :new, :project_id => '1'
37 get :new, :project_id => '1'
38 assert_response :success
38 assert_response :success
39 assert_template 'new'
39 assert_template 'new'
40 assert_select 'input[name=?]', 'issue_category[name]'
40 end
41 end
41
42
42 def test_create
43 def test_create
@@ -86,6 +87,7 class IssueCategoriesControllerTest < ActionController::TestCase
86 get :edit, :id => 2
87 get :edit, :id => 2
87 assert_response :success
88 assert_response :success
88 assert_template 'edit'
89 assert_template 'edit'
90 assert_select 'input[name=?][value=?]', 'issue_category[name]', 'Recipes'
89 end
91 end
90
92
91 def test_update
93 def test_update
General Comments 0
You need to be logged in to leave comments. Login now