mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
fix typo
This commit is contained in:
parent
af45798b32
commit
3ab75fb747
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class LiquidTest < Test::Unit::TestCase
|
||||||
assert_equal 'foo', body
|
assert_equal 'foo', body
|
||||||
end
|
end
|
||||||
|
|
||||||
it "can rendere truly nested layouts by accepting a layout and a block with the contents" do
|
it "can render truly nested layouts by accepting a layout and a block with the contents" do
|
||||||
mock_app do
|
mock_app do
|
||||||
template(:main_outer_layout) { "<h1>Title</h1>\n{{ yield }}" }
|
template(:main_outer_layout) { "<h1>Title</h1>\n{{ yield }}" }
|
||||||
template(:an_inner_layout) { "<h2>Subtitle</h2>\n{{ yield }}" }
|
template(:an_inner_layout) { "<h2>Subtitle</h2>\n{{ yield }}" }
|
||||||
|
|
Loading…
Add table
Reference in a new issue