fix erb test to work with erubis
This commit is contained in:
parent
dcd4d12b13
commit
8f76d3b49b
|
@ -45,7 +45,7 @@ class ERBTest < Test::Unit::TestCase
|
|||
erb 'Hello World', :layout => :layout2
|
||||
}
|
||||
assert ok?
|
||||
assert_equal "ERB Layout!\nHello World\n", body
|
||||
assert_body "ERB Layout!\nHello World"
|
||||
end
|
||||
|
||||
it "renders erb with blocks" do
|
||||
|
|
Loading…
Reference in New Issue