From 83b3471a4b24c447b43ca73281f5e7ab5e38d438 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Mon, 21 Jul 2008 23:54:25 +0000 Subject: [PATCH] ActionItem523: mocking the right methods --- test/unit/favorite_enterprises_block_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/favorite_enterprises_block_test.rb b/test/unit/favorite_enterprises_block_test.rb index 5bd31ef..54bc639 100644 --- a/test/unit/favorite_enterprises_block_test.rb +++ b/test/unit/favorite_enterprises_block_test.rb @@ -48,7 +48,7 @@ class FavoriteEnterprisesBlockTest < ActiveSupport::TestCase block = FavoriteEnterprisesBlock.new block.expects(:owner).returns(person) - expects(:_).with('All favorite enterprises').returns('All enterprises') + expects(:__).with('All favorite enterprises').returns('All enterprises') expects(:link_to).with('All enterprises', :controller => 'profile', :profile => 'theprofile', :action => 'favorite_enterprises') instance_eval(&block.footer) -- libgit2 0.21.2