Commit ab36975b883473f1c9a06f9052a0771845df714a

Authored by Daniela Feitosa
1 parent de1f4599

Removed default title of profile search block

(ActionItem1889)
app/models/profile_search_block.rb
... ... @@ -4,10 +4,6 @@ class ProfileSearchBlock < Block
4 4 _('Display a form to search the profile')
5 5 end
6 6  
7   - def default_title
8   - _('Profile search')
9   - end
10   -
11 7 def content
12 8 title = self.title
13 9 lambda do
... ...
test/unit/profile_search_block_test.rb
... ... @@ -6,8 +6,8 @@ class ProfileSearchBlockTest < Test::Unit::TestCase
6 6 assert_not_equal Block.description, ProfileSearchBlock.description
7 7 end
8 8  
9   - should 'provide a default title' do
10   - assert_not_equal Block.new.default_title, ProfileSearchBlock.new.default_title
  9 + should 'not provide a default title' do
  10 + assert_equal Block.new.default_title, ProfileSearchBlock.new.default_title
11 11 end
12 12  
13 13 should 'render profile search' do
... ...