Commit 4e1a277aab597beb0dae5e1e3d2a9caf2e1760dd

Authored by Leandro Santos
1 parent 40928998

Fix LocationBlock unit tests

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/location_block.rb
@@ -14,7 +14,7 @@ class LocationBlock < Block @@ -14,7 +14,7 @@ class LocationBlock < Block
14 def content(args={}) 14 def content(args={})
15 block = self 15 block = self
16 profile = self.owner 16 profile = self.owner
17 - lambda do 17 + proc do
18 render :file => 'blocks/location', :locals => {:block => block, :profile => profile} 18 render :file => 'blocks/location', :locals => {:block => block, :profile => profile}
19 end 19 end
20 end 20 end