diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-09 16:46:22 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-09 16:46:22 +0000 |
commit | 165c2be523bedb1832c284adf2ee8b9a4462e735 (patch) | |
tree | 4c4953aa825254f8a653fdf21a7a9129c7ef3c90 /test/functional | |
parent | b9d7a02b51e1a030997e8c7f2c36d85a8990e01e (diff) | |
download | redmine-165c2be523bedb1832c284adf2ee8b9a4462e735.tar.gz redmine-165c2be523bedb1832c284adf2ee8b9a4462e735.zip |
Fixed that link to the assignee is escaped twice on the issue view (#11352).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9967 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/issues_controller_test.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 7e9e3a398..bb80604c6 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -1114,6 +1114,14 @@ class IssuesControllerTest < ActionController::TestCase assert_no_tag 'a', :content => /Next/ end + def test_show_should_display_link_to_the_assignee + get :show, :id => 2 + assert_response :success + assert_select '.assigned-to' do + assert_select 'a[href=/users/3]' + end + end + def test_show_should_display_visible_changesets_from_other_projects project = Project.find(2) issue = project.issues.first |