1
0
Fork 0
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:
Takashi Kokubun 2015-03-25 01:20:40 +09:00
parent 7f3188e38c
commit bccf609ccd

View file

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