mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Add spec for xml doctype
This commit is contained in:
parent
7f3188e38c
commit
bccf609ccd
1 changed files with 8 additions and 0 deletions
|
@ -7,5 +7,13 @@ describe Hamlit::Engine do
|
|||
<!DOCTYPE html>
|
||||
HTML
|
||||
end
|
||||
|
||||
it 'renders xml doctype' do
|
||||
assert_render(<<-HAML, <<-HTML)
|
||||
!!! XML
|
||||
HAML
|
||||
<?xml version='1.0' encoding='utf-8' ?>
|
||||
HTML
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue