summaryrefslogtreecommitdiffstats
path: root/test/functional/activities_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-09 10:32:34 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-09 10:32:34 +0000
commit898a4164a052e1f5d4eaf74398850c168ecd4c96 (patch)
tree5f1e09879c814ae0de94b98c910506cc14ee3e6d /test/functional/activities_controller_test.rb
parentd21bacb01de0f4ebbac72dfb98c541d7ba9401ac (diff)
downloadredmine-898a4164a052e1f5d4eaf74398850c168ecd4c96.tar.gz
redmine-898a4164a052e1f5d4eaf74398850c168ecd4c96.zip
Fixed that link to user is escaped in activity title (#11124).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9786 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/activities_controller_test.rb')
-rw-r--r--test/functional/activities_controller_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/activities_controller_test.rb b/test/functional/activities_controller_test.rb
index 934b01785..3457d4068 100644
--- a/test/functional/activities_controller_test.rb
+++ b/test/functional/activities_controller_test.rb
@@ -78,6 +78,8 @@ class ActivitiesControllerTest < ActionController::TestCase
assert_template 'index'
assert_not_nil assigns(:events_by_day)
+ assert_select 'h2 a[href=/users/2]', :text => 'John Smith'
+
assert_tag :tag => "h3",
:content => /#{3.day.ago.to_date.day}/,
:sibling => { :tag => "dl",