Commit 61e8866b9a8ebeb8d6b19dcdfec0082161a073db
1 parent
f4b01954
Exists in
master
and in
28 other branches
ActionItem188: MainBlock#content should not be called never, but anyway it can't…
… call something that does not exist git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1478 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
app/models/main_block.rb
test/unit/main_block_test.rb
@@ -7,4 +7,8 @@ class MainBlockTest < Test::Unit::TestCase | @@ -7,4 +7,8 @@ class MainBlockTest < Test::Unit::TestCase | ||
7 | assert_not_equal Block.description, MainBlock.description | 7 | assert_not_equal Block.description, MainBlock.description |
8 | end | 8 | end |
9 | 9 | ||
10 | + should 'have no content' do | ||
11 | + ok("MainBlock must not have a content") { MainBlock.new.content.blank? } | ||
12 | + end | ||
13 | + | ||
10 | end | 14 | end |