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