From 3f8c863c99b721ebb1a7620f69bca725fddd5365 Mon Sep 17 00:00:00 2001 From: Joenio Costa Date: Mon, 16 May 2016 18:42:32 -0300 Subject: [PATCH] removing useless test for LinkListBlock --- test/unit/link_list_block_test.rb | 7 ------- 1 file changed, 0 insertions(+), 7 deletions(-) diff --git a/test/unit/link_list_block_test.rb b/test/unit/link_list_block_test.rb index 7a94c8d..3e6caf2 100644 --- a/test/unit/link_list_block_test.rb +++ b/test/unit/link_list_block_test.rb @@ -79,13 +79,6 @@ class LinkListBlockTest < ActiveSupport::TestCase assert_tag_in_string render_block_content(l), :tag => 'a', :attributes => { :href => '/prefix/bar' } end - should 'display options for icons' do - l = LinkListBlock.new - l.icons_options.each do |option| - assert_match(/<\/span>/, option) - end - end - should 'link with icon' do l = LinkListBlock.new(:links => [{:icon => 'save', :name => 'test', :address => 'test.com'}]) assert_match /a class="icon-[^"]+"/, render_block_content(l) -- libgit2 0.21.2