From: Anton Khorev Date: Sat, 27 Apr 2024 23:02:15 +0000 (+0300) Subject: Remove border=0 from feed icons X-Git-Tag: live~599^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/a2e7b5db56a1bc61d90ea2c74e9961fcafd46218 Remove border=0 from feed icons --- diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 368668a9b..e81a9d401 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -10,11 +10,11 @@ module ApplicationHelper end def rss_link_to(args = {}) - link_to(image_tag("RSS.png", :size => "16x16", :border => 0), args, :class => "rsssmall") + link_to(image_tag("RSS.png", :size => "16x16"), args, :class => "rsssmall") end def atom_link_to(args = {}) - link_to(image_tag("RSS.png", :size => "16x16", :border => 0), args, :class => "rsssmall") + link_to(image_tag("RSS.png", :size => "16x16"), args, :class => "rsssmall") end def dir diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index a905090db..f6b335a5c 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -31,12 +31,12 @@ class ApplicationHelperTest < ActionView::TestCase def test_rss_link_to link = rss_link_to(:controller => :diary_entries, :action => :rss) - assert_dom_equal "", link + assert_dom_equal "", link end def test_atom_link_to link = atom_link_to(:controller => :changesets, :action => :feed) - assert_dom_equal "", link + assert_dom_equal "", link end def test_dir