summaryrefslogtreecommitdiffstats
path: root/test/functional/issues_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-01-20 08:50:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-01-20 08:50:39 +0000
commit7467c145c03c07f42c844d52956fa708bb7d05ee (patch)
tree29b5d09a64047cf076c3eca8257c087de3fea268 /test/functional/issues_controller_test.rb
parent2ec87100a91f88e8eb220225141a3873e9aaf933 (diff)
downloadredmine-7467c145c03c07f42c844d52956fa708bb7d05ee.tar.gz
redmine-7467c145c03c07f42c844d52956fa708bb7d05ee.zip
Replace uses of image_tag() with CSS (#21256).
* Replace image_tag() with CSS classes * Create some CSS classes where necessary * Change "check all" positioned on the right in "Trackers -> Summary" and "Roles -> Permissions report" instead of left like in "Worfklow" * Add missing title attribute in a few places * Makes some lines shorter while at it Patch by Daniel Ritz. git-svn-id: http://svn.redmine.org/redmine/trunk@15068 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-rw-r--r--test/functional/issues_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index 395a5615e..0ad26973e 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -1424,7 +1424,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_select 'div#watchers ul' do
assert_select 'li' do
assert_select 'a[href="/users/2"]'
- assert_select 'a img[alt=Delete]'
+ assert_select 'a[class*=delete]'
end
end
end
@@ -1441,7 +1441,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_select 'li' do
assert_select 'img.gravatar'
assert_select 'a[href="/users/2"]'
- assert_select 'a img[alt=Delete]'
+ assert_select 'a[class*=delete]'
end
end
end