describe Hamlit::Engine do describe 'new attributes' do it 'renders attributes' do assert_render(<<-HAML, <<-HTML) %p(class='foo') bar HAML
bar
HTML end it 'renders multiple attributes' do assert_render(<<-HAML, <<-HTML) %p(a=1 b=2) bar HAMLbar
HTML end end end