spec/functional/xommelier/atom/feed/building_hash_spec.rb in xommelier-0.1.25 vs spec/functional/xommelier/atom/feed/building_hash_spec.rb in xommelier-0.1.26
- old
+ new
@@ -31,7 +31,8 @@
it { doc.contributors[2].should be_an(Xommelier::Atom::Person) }
it { doc.entries[1].should be_an(Xommelier::Atom::Entry) }
its(:to_hash) { should == hash}
its(:to_xml) { should == load_xml_file('nested_atom') }
+ it_behaves_like 'Valid XML Document'
end
end