Commit bc8bfd7457ab1e61470a20a534bb7dfdeaef5b14
1 parent
a98262bf
Exists in
master
and in
28 other branches
ActionItem0: Making unit test of content
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@201 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
test/unit/link_block_test.rb
@@ -4,7 +4,8 @@ class LinkBlockTest < Test::Unit::TestCase | @@ -4,7 +4,8 @@ class LinkBlockTest < Test::Unit::TestCase | ||
4 | fixtures :blocks | 4 | fixtures :blocks |
5 | 5 | ||
6 | # Replace this with your real tests. | 6 | # Replace this with your real tests. |
7 | - def test_truth | ||
8 | - assert true | 7 | + def test_content |
8 | + l = LinkBlock.new | ||
9 | + assert_kind_of Array, l.content | ||
9 | end | 10 | end |
10 | end | 11 | end |