1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

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

View file

@ -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