From c77370a9ebd58dedac42ae0a7b8a045650f80ebc Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 24 May 2012 17:31:53 +0000 Subject: 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 --- test/functional/issue_categories_controller_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3