Browse Source

Adds assertions for r9572.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9577 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/2.0.0
Jean-Philippe Lang 12 years ago
parent
commit
99cfca6f83
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      test/functional/issue_categories_controller_test.rb

+ 2
- 0
test/functional/issue_categories_controller_test.rb View File

@@ -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

Loading…
Cancel
Save