Commit 1bbacb34f79190202faeb7665707e4b0a1130dc1

Authored by LeandroNunes
1 parent 8d694c38

ActionItem0: removing tests

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@72 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/models/block.rb
1 1 #It's the class that define the block's content will be displayed on box in a determined web
2   -require 'bli'
3 2 class Block < ActiveRecord::Base
4 3 include ActionView::Helpers::TagHelper
5 4 belongs_to :box
... ... @@ -16,11 +15,6 @@ class Block &lt; ActiveRecord::Base
16 15 raise _("This is a main class, don't use it")
17 16 end
18 17  
19   -def bla
20   -t = Tag.new
21   -t.bli
22   -end
23   -
24 18 # This method always return false excepted when redefined by the MainBlock class. It mean the current block it's not the result of a
25 19 # controller action.
26 20 #
... ...
app/models/extended_tag.rb
... ... @@ -1,7 +0,0 @@
1   -class ExtendedTag < Tag
2   -
3   - def bli
4   - 'I am bli'
5   - end
6   -
7   -end
lib/bli.rb
... ... @@ -1,7 +0,0 @@
1   -class Tag
2   -
3   - def bli
4   - 'I am bli'
5   - end
6   -
7   -end