use escaped "can't" constant at IssueStatusesControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12804 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-02-04 23:52:28 +00:00
parent 98249335d5
commit 03f7281f82
1 changed files with 2 additions and 2 deletions

View File

@ -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&#x27;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&#x27;t be blank/i
assert_error_tag :content => /name #{ESCAPED_CANT} be blank/i
end
def test_destroy