diff test/functional/activities_controller_test.rb @ 1517:dffacf8a6908 redmine-2.5

Update to Redmine SVN revision 13367 on 2.5-stable branch
author Chris Cannam
date Tue, 09 Sep 2014 09:29:00 +0100
parents e248c7af89ec
children
line wrap: on
line diff
--- a/test/functional/activities_controller_test.rb	Tue Sep 09 09:28:31 2014 +0100
+++ b/test/functional/activities_controller_test.rb	Tue Sep 09 09:29:00 2014 +0100
@@ -51,7 +51,7 @@
     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't print recipes/
+    assert_select 'dl dt.issue a', :text => /#{ESCAPED_UCANT} print recipes/
   end
 
   def test_global_index
@@ -81,7 +81,7 @@
     d1 = User.find(1).time_to_date(i1.created_on)
 
     assert_select 'h3', :text => /#{d1.day}/
-    assert_select 'dl dt.issue a', :text => /Can'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