spec/mastalk_spec.rb in mastalk-0.3.0 vs spec/mastalk_spec.rb in mastalk-0.3.1
- old
+ new
@@ -115,6 +115,18 @@
it 'pre-processes correctly' do
expect(subject.to_html).to eq(expected)
end
end
+
+ context 'line breaks' do
+ let(:source) { "@~ @~" }
+
+ let(:expected) do
+ "<p><br /> <br /></p>\n"
+ end
+
+ it 'pre-processes correctly' do
+ expect(subject.to_html).to eq(expected)
+ end
+ end
end