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:
parent
afa18701fd
commit
031e4fde63
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue