use escaped "can't" constant at ProjectsControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12802 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-02-04 23:51:56 +00:00
parent afa18701fd
commit 031e4fde63
1 changed files with 1 additions and 1 deletions

View 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