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:
parent
dcd4d12b13
commit
8f76d3b49b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue