fix erb test to work with erubis

This commit is contained in:
Konstantin Haase 2011-04-15 10:10:41 +02:00
parent dcd4d12b13
commit 8f76d3b49b
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class ERBTest < Test::Unit::TestCase
erb 'Hello World', :layout => :layout2 erb 'Hello World', :layout => :layout2
} }
assert ok? assert ok?
assert_equal "ERB Layout!\nHello World\n", body assert_body "ERB Layout!\nHello World"
end end
it "renders erb with blocks" do it "renders erb with blocks" do