]> source.dussan.org Git - redmine.git/commitdiff
use escaped "can't" constant at ProjectsControllerTest
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Feb 2014 23:51:56 +0000 (23:51 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Feb 2014 23:51:56 +0000 (23:51 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12802 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/projects_controller_test.rb

index 0c2ddb6f599d9b7930c55159621f53379e44caaa..be6e738ea7dd62b39726a8fd0fd872acd615a42b 100644 (file)
@@ -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&#x27;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