spec/render/element_spec.rb in faml-0.2.13 vs spec/render/element_spec.rb in faml-0.2.14
- old
+ new
@@ -40,18 +40,9 @@
hello
HAML
end
- it 'raises error if indent is wrong' do
- expect { render_string(<<HAML) }.to raise_error(Faml::IndentTracker::IndentMismatch)
-%div
- %div
- %div
- %div
-HAML
- end
-
it 'parses classes' do
expect(render_string('%span.foo.bar hello')).to eq(%Q{<span class='foo bar'>hello</span>\n})
end
it 'parses id' do