diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-04 23:52:28 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-04 23:52:28 +0000 |
commit | 03f7281f82f08ec5edc69f0cc5336be95e13d8dd (patch) | |
tree | 274b65dba90e80e74fa4c5b4406642343f1d3d54 | |
parent | 98249335d5c75aec367197edca22bc8c686c2353 (diff) | |
download | redmine-03f7281f82f08ec5edc69f0cc5336be95e13d8dd.tar.gz redmine-03f7281f82f08ec5edc69f0cc5336be95e13d8dd.zip |
use escaped "can't" constant at IssueStatusesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12804 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/functional/issue_statuses_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/issue_statuses_controller_test.rb b/test/functional/issue_statuses_controller_test.rb index 6be40676d..59fff8141 100644 --- a/test/functional/issue_statuses_controller_test.rb +++ b/test/functional/issue_statuses_controller_test.rb @@ -62,7 +62,7 @@ class IssueStatusesControllerTest < ActionController::TestCase post :create, :issue_status => {:name => ''} assert_response :success assert_template 'new' - assert_error_tag :content => /name can't be blank/i + assert_error_tag :content => /name #{ESCAPED_CANT} be blank/i end def test_edit @@ -82,7 +82,7 @@ class IssueStatusesControllerTest < ActionController::TestCase put :update, :id => '3', :issue_status => {:name => ''} assert_response :success assert_template 'edit' - assert_error_tag :content => /name can't be blank/i + assert_error_tag :content => /name #{ESCAPED_CANT} be blank/i end def test_destroy |