spec/render/sanitize_spec.rb in faml-0.2.16 vs spec/render/sanitize_spec.rb in faml-0.3.0
- old
+ new
@@ -24,13 +24,6 @@
it 'ignores preserve mark' do
expect(render_string('&~ "<p>hello</p>"')).to eq("<p>hello</p>\n")
expect(render_string('%span&~ "<p>hello</p>"')).to eq("<span><p>hello</p></span>\n")
end
end
-
- context 'without Ruby code' do
- it 'raises error' do
- expect { render_string('%span&=') }.to raise_error(Faml::SyntaxError)
- expect { render_string('&=') }.to raise_error(Faml::SyntaxError)
- end
- end
end