Commit e46180a83f85e2d158fdd5bd60386fe84f094f89

Authored by Joenio Costa
1 parent 8ac01fe0

ActionItem866: localization block default title is blank

app/models/localization_block.rb
... ... @@ -8,10 +8,6 @@ class LocalizationBlock < Block
8 8 _('Shows where the profile is on the material world.')
9 9 end
10 10  
11   - def default_title
12   - _('Localization Map')
13   - end
14   -
15 11 def content
16 12 profile = self.owner
17 13 title = self.title
... ...
test/unit/localization_block_test.rb
... ... @@ -29,4 +29,8 @@ class LocalizationBlockTest < Test::Unit::TestCase
29 29 assert LocalizationBlock.new.editable?
30 30 end
31 31  
  32 + should 'default title be blank by default' do
  33 + assert_equal '', LocalizationBlock.new.title
  34 + end
  35 +
32 36 end
... ...