Commit 23bd8bbc2293d5123bbcb4b416143934edf23abc

Authored by Joenio Costa
1 parent a4170440

remove unit test causing colateral errors

related issue: #181
Showing 1 changed file with 0 additions and 22 deletions   Show diff stats
test/unit/profile_list_block_test.rb
@@ -22,28 +22,6 @@ class ProfileListBlockTest < ActiveSupport::TestCase @@ -22,28 +22,6 @@ class ProfileListBlockTest < ActiveSupport::TestCase
22 22
23 include BoxesHelper 23 include BoxesHelper
24 24
25 - should 'list people' do  
26 - env = fast_create(Environment)  
27 -  
28 - person1 = create_user('testperson1', :environment => env).person  
29 - person2 = create_user('testperson2', :environment => env).person  
30 - person3 = create_user('testperson3', :environment => env).person  
31 -  
32 - block = ProfileListBlock.new  
33 - block.stubs(:owner).returns(env)  
34 -  
35 - ApplicationHelper.class_eval do  
36 - def profile_image_link( profile, size=:portrait, tag='li', extra_info = nil )  
37 - "<#{profile.name}>"  
38 - end  
39 - end  
40 -  
41 - content = render_block_content(block)  
42 - assert_match '<testperson1>', content  
43 - assert_match '<testperson2>', content  
44 - assert_match '<testperson3>', content  
45 - end  
46 -  
47 should 'list private profiles' do 25 should 'list private profiles' do
48 env = fast_create(Environment) 26 env = fast_create(Environment)
49 env.boxes << Box.new 27 env.boxes << Box.new