Commit 904fed8816b19dc383d2e4f4a5a50eb89e3bc96c
1 parent
4e1a277a
Exists in
master
and in
29 other branches
Fix CategoriesBlock unit tests
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/categories_block.rb
@@ -30,7 +30,7 @@ class CategoriesBlock < Block | @@ -30,7 +30,7 @@ class CategoriesBlock < Block | ||
30 | 30 | ||
31 | def content(args={}) | 31 | def content(args={}) |
32 | block = self | 32 | block = self |
33 | - lambda do | 33 | + proc do |
34 | render :file => 'blocks/categories', :locals => { :block => block } | 34 | render :file => 'blocks/categories', :locals => { :block => block } |
35 | end | 35 | end |
36 | end | 36 | end |