public
Description: HTML Abstraction Markup Language - A Markup Haiku
Homepage: http://haml.hamptoncatlin.com
Clone URL: git://github.com/nex3/haml.git
fix Haml template tests for ActionPack 2.1

Signed-off-by: Nathan Weizenbaum <nex342@gmail.com>
mislav (author)
Wed Jun 25 07:08:05 -0700 2008
nex3 (committer)
Thu Jul 03 20:03:49 -0700 2008
commit  c2781c7b4ef58a98753ac72e7dcc649ac9844b1b
tree    f5dacd224e1e4e825bc7b08f2db02fc00dffd054
parent  c777841d9d5421b3847c7b2543777639f34a16f6
...
25
26
27
28
 
 
29
30
31
...
25
26
27
 
28
29
30
31
32
0
@@ -25,7 +25,8 @@ class TemplateTest < Test::Unit::TestCase
0
     filters nuke_outer_whitespace nuke_inner_whitespace }
0
 
0
   def setup
0
- @base = ActionView::Base.new(TEMPLATE_PATH, 'article' => Article.new, 'foo' => 'value one')
0
+ @base = ActionView::Base.new([], {'article' => Article.new, 'foo' => 'value one'})
0
+ @base.finder.append_view_path(TEMPLATE_PATH)
0
     @base.send(:evaluate_assigns)
0
 
0
     # This is used by form_for.

Comments

    No one has commented yet.