spec/feedjira/preprocessor_spec.rb in feedjira-1.4.0 vs spec/feedjira/preprocessor_spec.rb in feedjira-1.5.0

- old
+ new

@@ -12,8 +12,10 @@ it 'escapes markup in xhtml content' do processor = Feedjira::Preprocessor.new sample_atom_xhtml_feed escaped = processor.to_xml - expect(escaped.split("\n")[26]).to match /<p>$/ + expect(escaped.split("\n")[10]).to match /<i>dogs<\/i>/ #title + expect(escaped.split("\n")[16]).to match /<b>XHTML<\/b>/ #summary + expect(escaped.split("\n")[26]).to match /<p>$/ #content end end