Commit fca4c1ee568a9429569ba85d65b22dcf5f29704c

Authored by Antonio Terceiro
1 parent 217b21e3

ActionItem1227: fixing test

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/unit/link_list_block_test.rb
... ... @@ -59,7 +59,7 @@ class LinkListBlockTest < ActiveSupport::TestCase
59 59  
60 60 should 'not add link to javascript' do
61 61 l = LinkListBlock.new(:links => [{:name => 'link', :address => "javascript:alert('Message test')"}])
62   - assert_no_match /javascript/, l.link_html(l.links.first)
  62 + assert_no_match /href="javascript/, l.link_html(l.links.first)
63 63 end
64 64  
65 65 should 'not add link to onclick' do
... ...