diff --git a/test/unit/profile_list_block_test.rb b/test/unit/profile_list_block_test.rb index 76a6718..9033595 100644 --- a/test/unit/profile_list_block_test.rb +++ b/test/unit/profile_list_block_test.rb @@ -22,28 +22,6 @@ class ProfileListBlockTest < ActiveSupport::TestCase include BoxesHelper - should 'list people' do - env = fast_create(Environment) - - person1 = create_user('testperson1', :environment => env).person - person2 = create_user('testperson2', :environment => env).person - person3 = create_user('testperson3', :environment => env).person - - block = ProfileListBlock.new - block.stubs(:owner).returns(env) - - ApplicationHelper.class_eval do - def profile_image_link( profile, size=:portrait, tag='li', extra_info = nil ) - "<#{profile.name}>" - end - end - - content = render_block_content(block) - assert_match '', content - assert_match '', content - assert_match '', content - end - should 'list private profiles' do env = fast_create(Environment) env.boxes << Box.new -- libgit2 0.21.2