1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

fix Haml template tests for ActionPack 2.1

Signed-off-by: Nathan Weizenbaum <nex342@gmail.com>
This commit is contained in:
Mislav Marohnić 2008-06-25 16:08:05 +02:00 committed by Nathan Weizenbaum
parent c777841d9d
commit c2781c7b4e

View file

@ -25,7 +25,8 @@ class TemplateTest < Test::Unit::TestCase
filters nuke_outer_whitespace nuke_inner_whitespace }
def setup
@base = ActionView::Base.new(TEMPLATE_PATH, 'article' => Article.new, 'foo' => 'value one')
@base = ActionView::Base.new([], {'article' => Article.new, 'foo' => 'value one'})
@base.finder.append_view_path(TEMPLATE_PATH)
@base.send(:evaluate_assigns)
# This is used by form_for.