From a2e7b5db56a1bc61d90ea2c74e9961fcafd46218 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sun, 28 Apr 2024 02:02:15 +0300 Subject: [PATCH 1/1] Remove border=0 from feed icons --- app/helpers/application_helper.rb | 4 ++-- test/helpers/application_helper_test.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.5