Commit 143f026a0b854c663b4128603f8ac490f3ec7113

Authored by AntonioTerceiro
1 parent e8ccb188

ActionItem392: fixing test

don't ask me why it fixes this, but I guess that this has something to
do with Ruby 1.8.7


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1977 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/unit/profile_test.rb
... ... @@ -506,7 +506,7 @@ class ProfileTest < Test::Unit::TestCase
506 506  
507 507 should 'be able to add a block as extra data for index' do
508 508 klass = Class.new(Profile)
509   - result = mock
  509 + result = Object.new
510 510 klass.extra_data_for_index do |obj|
511 511 result
512 512 end
... ...