spec/render/multiline_spec.rb in faml-0.2.7 vs spec/render/multiline_spec.rb in faml-0.2.8

- old
+ new

@@ -34,6 +34,13 @@ hello | world HAML end + + it 'can be used in attribute list' do + expect(render_string(<<HAML)).to eq("<div bar='2' foo='1'></div>\n") +%div{foo: 1, | + bar: 2} +HAML + end end