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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user