summaryrefslogtreecommitdiffstats
path: root/test/functional/activities_controller_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-04 23:52:44 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-04 23:52:44 +0000
commit760f88bd58ca1418bbe9bd7173510a3c64bf8ff0 (patch)
tree06c902a1b6238be34ab12df6c2c34926f5ec6716 /test/functional/activities_controller_test.rb
parent03f7281f82f08ec5edc69f0cc5336be95e13d8dd (diff)
downloadredmine-760f88bd58ca1418bbe9bd7173510a3c64bf8ff0.tar.gz
redmine-760f88bd58ca1418bbe9bd7173510a3c64bf8ff0.zip
use escaped "Can't" constant at IssueStatusesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12805 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/activities_controller_test.rb')
-rw-r--r--test/functional/activities_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/activities_controller_test.rb b/test/functional/activities_controller_test.rb
index 213dae045..49d5aff61 100644
--- a/test/functional/activities_controller_test.rb
+++ b/test/functional/activities_controller_test.rb
@@ -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