spec/render/comment_spec.rb in faml-0.2.16 vs spec/render/comment_spec.rb in faml-0.3.0
- old
+ new
@@ -45,17 +45,6 @@
/[[if IE]]
%span hello
world
HAML
end
-
- it 'raises error if conditional comment bracket is unbalanced' do
- expect { render_string('/[[if IE]') }.to raise_error(Faml::SyntaxError)
- end
-
- it 'raises error if both comment text and children are given' do
- expect { render_string(<<HAML) }.to raise_error(Faml::SyntaxError)
-/ hehehe
- %span hello
-HAML
- end
end