From 4e1a277aab597beb0dae5e1e3d2a9caf2e1760dd Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Fri, 26 Jul 2013 18:41:03 -0300 Subject: [PATCH] Fix LocationBlock unit tests --- app/models/location_block.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/location_block.rb b/app/models/location_block.rb index 95fde1c..5bd5b0c 100644 --- a/app/models/location_block.rb +++ b/app/models/location_block.rb @@ -14,7 +14,7 @@ class LocationBlock < Block def content(args={}) block = self profile = self.owner - lambda do + proc do render :file => 'blocks/location', :locals => {:block => block, :profile => profile} end end -- libgit2 0.21.2