diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-05-24 17:31:53 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-05-24 17:31:53 +0000 |
commit | c77370a9ebd58dedac42ae0a7b8a045650f80ebc (patch) | |
tree | 2d0c26c8a967c6db161ef6e1857f5ceb97f5c807 /test | |
parent | 6206c88dfabf4b320ab35026c2833dbb4e9a593c (diff) | |
download | redmine-c77370a9ebd58dedac42ae0a7b8a045650f80ebc.tar.gz redmine-c77370a9ebd58dedac42ae0a7b8a045650f80ebc.zip |
Use a modal form to create a category from the issue form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9707 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/issue_categories_controller_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/issue_categories_controller_test.rb b/test/functional/issue_categories_controller_test.rb index d76746ac5..5c9e6c9dc 100644 --- a/test/functional/issue_categories_controller_test.rb +++ b/test/functional/issue_categories_controller_test.rb @@ -79,7 +79,9 @@ class IssueCategoriesControllerTest < ActionController::TestCase end assert_response :success - assert_match /alert/, @response.body + assert_select_rjs :replace_html, "ajax-modal" do + assert_select "div#errorExplanation" + end end def test_edit |