diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-04 23:51:56 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-04 23:51:56 +0000 |
commit | 031e4fde63a0b3b571d5ac9b83915f83e5dc1905 (patch) | |
tree | 2fa9fbae54d357d44bd245522e574f338dbb9eec /test/functional/projects_controller_test.rb | |
parent | afa18701fdf3683ea317d4a5dec39f322d17a55f (diff) | |
download | redmine-031e4fde63a0b3b571d5ac9b83915f83e5dc1905.tar.gz redmine-031e4fde63a0b3b571d5ac9b83915f83e5dc1905.zip |
use escaped "can't" constant at ProjectsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12802 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-rw-r--r-- | test/functional/projects_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |