spec/hamlit/engine/new_attribute_spec.rb in hamlit-1.5.4 vs spec/hamlit/engine/new_attribute_spec.rb in hamlit-1.5.5

- old
+ new

@@ -15,11 +15,11 @@ <p a='1' b='2'>bar</p> HTML end describe 'html escape' do - it 'escapes attribute values on static attributes' do + it 'escapes attribute values on static attributes', skipdoc: true do assert_render(<<-'HAML', <<-HTML, compatible_only: :faml) %a(title="'") %a(title = "'\"") %a(href='/search?foo=bar&hoge=<fuga>') HAML @@ -27,10 +27,10 @@ <a title='&#39;&quot;'></a> <a href='/search?foo=bar&amp;hoge=&lt;fuga&gt;'></a> HTML end - it 'escapes attribute values on dynamic attributes' do + it 'escapes attribute values on dynamic attributes', skipdoc: true do assert_render(<<-'HAML', <<-HTML, compatible_only: :faml) - title = "'\"" - href = '/search?foo=bar&hoge=<fuga>' %a(title=title) %a(href=href)