Commit ea538e3279308769b4a0056985bed9feeb712f07

Authored by MoisesMachado
1 parent a450dbd5

ActionItem619: fixed a test of friends block

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2405 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
test/unit/friends_block_test.rb
... ... @@ -38,6 +38,7 @@ class FriendsBlockTest < ActiveSupport::TestCase
38 38 block.expects(:owner).returns(user)
39 39  
40 40 def self._(s); s; end
  41 + def self.gettext(s); s; end
41 42 expects(:link_to).with('All friends', :profile => 'theuser', :controller => 'profile', :action => 'friends')
42 43  
43 44 instance_eval(&block.footer)
... ...