use escaped "Can't" constant at IssueStatusesControllerTest

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

View File

@ -51,7 +51,7 @@ class ActivitiesControllerTest < ActionController::TestCase
assert_not_nil assigns(:events_by_day)
assert_select 'h3', :text => /#{3.days.ago.to_date.day}/
assert_select 'dl dt.issue a', :text => /Can&#x27;t print recipes/
assert_select 'dl dt.issue a', :text => /#{ESCAPED_UCANT} print recipes/
end
def test_global_index
@ -81,7 +81,7 @@ class ActivitiesControllerTest < ActionController::TestCase
d1 = User.find(1).time_to_date(i1.created_on)
assert_select 'h3', :text => /#{d1.day}/
assert_select 'dl dt.issue a', :text => /Can&#x27;t print recipes/
assert_select 'dl dt.issue a', :text => /#{ESCAPED_UCANT} print recipes/
end
def test_user_index_with_invalid_user_id_should_respond_404