Commit ecc56909efcd0a22a3f9405fad96f7027966191e
Committed by
Marcos Ramos
1 parent
fca8659a
Exists in
master
and in
29 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 | 23 | |
24 | 24 | should 'list links' do |
25 | 25 | l = LinkListBlock.new(:links => [{:name => 'products', :address => '/cat/products'}]) |
26 | - l.expects(:links).returns([{:name => 'products', :address => '/cat/products'}]) | |
27 | 26 | assert_match /products/, l.content |
28 | 27 | end |
29 | 28 | ... | ... |