diff --git a/app/models/profile_search_block.rb b/app/models/profile_search_block.rb index eae7518..41767a6 100644 --- a/app/models/profile_search_block.rb +++ b/app/models/profile_search_block.rb @@ -4,10 +4,6 @@ class ProfileSearchBlock < Block _('Display a form to search the profile') end - def default_title - _('Profile search') - end - def content title = self.title lambda do diff --git a/test/unit/profile_search_block_test.rb b/test/unit/profile_search_block_test.rb index c4f4a53..55db6eb 100644 --- a/test/unit/profile_search_block_test.rb +++ b/test/unit/profile_search_block_test.rb @@ -6,8 +6,8 @@ class ProfileSearchBlockTest < Test::Unit::TestCase assert_not_equal Block.description, ProfileSearchBlock.description end - should 'provide a default title' do - assert_not_equal Block.new.default_title, ProfileSearchBlock.new.default_title + should 'not provide a default title' do + assert_equal Block.new.default_title, ProfileSearchBlock.new.default_title end should 'render profile search' do -- libgit2 0.21.2