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

- old
+ new

@@ -5,15 +5,15 @@ xml = '<xml></xml>' doc = Nokogiri::XML(xml).remove_namespaces! processor = Feedjira::Preprocessor.new xml escaped = processor.to_xml - escaped.should eq doc.to_xml + expect(escaped).to eq doc.to_xml end it 'escapes markup in xhtml content' do processor = Feedjira::Preprocessor.new sample_atom_xhtml_feed escaped = processor.to_xml - escaped.split("\n")[26].should match /&lt;p&gt;$/ + expect(escaped.split("\n")[26]).to match /&lt;p&gt;$/ end end