Commit ecc56909efcd0a22a3f9405fad96f7027966191e
Committed by
Marcos Ramos
1 parent
fca8659a
Exists in
master
and in
28 other branches
Link list tests refactor
Signed-of-by: Victor Hugo Alves de Carvalho <victorhugodf.ac@gmail.com>
Signed-of-by: Rafael de Souza Queiroz <querafael@live.com>
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
test/unit/link_list_block_test.rb
| @@ -23,7 +23,6 @@ class LinkListBlockTest < ActiveSupport::TestCase | @@ -23,7 +23,6 @@ class LinkListBlockTest < ActiveSupport::TestCase | ||
| 23 | 23 | ||
| 24 | should 'list links' do | 24 | should 'list links' do |
| 25 | l = LinkListBlock.new(:links => [{:name => 'products', :address => '/cat/products'}]) | 25 | l = LinkListBlock.new(:links => [{:name => 'products', :address => '/cat/products'}]) |
| 26 | - l.expects(:links).returns([{:name => 'products', :address => '/cat/products'}]) | ||
| 27 | assert_match /products/, l.content | 26 | assert_match /products/, l.content |
| 28 | end | 27 | end |
| 29 | 28 |