summaryrefslogtreecommitdiffstats
path: root/test/functional/wiki_controller_test.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-12-10 23:31:14 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-12-10 23:31:14 +0000
commit910842a157a9fa663b13ddc6eb95359fd60482a1 (patch)
tree815a3db17a7cda823537f3ce040a48782ff85bcb /test/functional/wiki_controller_test.rb
parent4a74fcccae8099c17950340a6cfdbd54930cf495 (diff)
downloadredmine-910842a157a9fa663b13ddc6eb95359fd60482a1.tar.gz
redmine-910842a157a9fa663b13ddc6eb95359fd60482a1.zip
Fixes group icons not displayed only using the SVG icon (#41853).
git-svn-id: https://svn.redmine.org/redmine/trunk@23379 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/wiki_controller_test.rb')
-rw-r--r--test/functional/wiki_controller_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb
index fdfaaf805..9d94f5c20 100644
--- a/test/functional/wiki_controller_test.rb
+++ b/test/functional/wiki_controller_test.rb
@@ -142,7 +142,8 @@ class WikiControllerTest < Redmine::ControllerTest
assert_select 'a[class*=delete]'
end
assert_select 'li.user-10' do
- assert_select 'img.gravatar[title=?]', 'A Team', is_display_gravatar
+ assert_select 'a.group', :text => 'A Team'
+ assert_select 'svg'
assert_select 'a[href="/users/10"]', false
assert_select 'a[class*=delete]'
end