From 6148ec4902d78005427c2b68c0f8e8ca89bc48ad Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Tue, 23 Feb 2016 15:32:07 -0300 Subject: [PATCH] Fix community block unit test --- test/unit/communities_block_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/communities_block_test.rb b/test/unit/communities_block_test.rb index 019013f..3f0d884 100644 --- a/test/unit/communities_block_test.rb +++ b/test/unit/communities_block_test.rb @@ -33,7 +33,7 @@ class CommunitiesBlockTest < ActiveSupport::TestCase block = CommunitiesBlock.new block.expects(:owner).returns(profile).at_least_once - self.expects(:render).with(:file => 'blocks/communities', :locals => { :owner => profile, :suggestions => block.suggestions }) + self.expects(:render).with(:file => 'blocks/communities_footer', :locals => { :owner => profile, :suggestions => block.suggestions }) instance_eval(&block.footer) end @@ -42,7 +42,7 @@ class CommunitiesBlockTest < ActiveSupport::TestCase block = CommunitiesBlock.new block.expects(:owner).returns(env).at_least_once - self.expects(:render).with(:file => 'blocks/communities', :locals => { :owner => env, :suggestions => block.suggestions }) + self.expects(:render).with(:file => 'blocks/communities_footer', :locals => { :owner => env, :suggestions => block.suggestions }) instance_eval(&block.footer) end -- libgit2 0.21.2