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:
parent
c777841d9d
commit
c2781c7b4e
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue