From 031e4fde63a0b3b571d5ac9b83915f83e5dc1905 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 4 Feb 2014 23:51:56 +0000 Subject: [PATCH] use escaped "can't" constant at ProjectsControllerTest git-svn-id: http://svn.redmine.org/redmine/trunk@12802 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/projects_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index 0c2ddb6f5..be6e738ea 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -422,7 +422,7 @@ class ProjectsControllerTest < ActionController::TestCase post :update, :id => 1, :project => {:name => ''} assert_response :success assert_template 'settings' - assert_error_tag :content => /name can't be blank/i + assert_error_tag :content => /name #{ESCAPED_CANT} be blank/i end def test_update_should_be_denied_for_member_on_closed_project -- 2.39.5