Commit 3f8c863c99b721ebb1a7620f69bca725fddd5365

Authored by Joenio Costa
1 parent 09ba5847

removing useless test for LinkListBlock

this fixes test broken by the commit db91ca
Showing 1 changed file with 0 additions and 7 deletions   Show diff stats
test/unit/link_list_block_test.rb
@@ -79,13 +79,6 @@ class LinkListBlockTest < ActiveSupport::TestCase @@ -79,13 +79,6 @@ class LinkListBlockTest < ActiveSupport::TestCase
79 assert_tag_in_string render_block_content(l), :tag => 'a', :attributes => { :href => '/prefix/bar' } 79 assert_tag_in_string render_block_content(l), :tag => 'a', :attributes => { :href => '/prefix/bar' }
80 end 80 end
81 81
82 - should 'display options for icons' do  
83 - l = LinkListBlock.new  
84 - l.icons_options.each do |option|  
85 - assert_match(/<span title=\".+\" class=\"icon-.+\" onclick=\"changeIcon\(this, '.+'\)\"><\/span>/, option)  
86 - end  
87 - end  
88 -  
89 should 'link with icon' do 82 should 'link with icon' do
90 l = LinkListBlock.new(:links => [{:icon => 'save', :name => 'test', :address => 'test.com'}]) 83 l = LinkListBlock.new(:links => [{:icon => 'save', :name => 'test', :address => 'test.com'}])
91 assert_match /a class="icon-[^"]+"/, render_block_content(l) 84 assert_match /a class="icon-[^"]+"/, render_block_content(l)