spec/feedzirra/feed_spec.rb in feedzirra-0.1.2 vs spec/feedzirra/feed_spec.rb in feedzirra-0.1.3
- old
+ new
@@ -95,10 +95,14 @@
feed.entries.size.should == 20
end
end
describe "#determine_feed_parser_for_xml" do
+ it 'should return the Feedzirra::Parser::GoogleDocsAtom calss for a Google Docs atom feed' do
+ Feedzirra::Feed.determine_feed_parser_for_xml(sample_google_docs_list_feed).should == Feedzirra::Parser::GoogleDocsAtom
+ end
+
it "should return the Feedzirra::Parser::Atom class for an atom feed" do
Feedzirra::Feed.determine_feed_parser_for_xml(sample_atom_feed).should == Feedzirra::Parser::Atom
end
it "should return the Feedzirra::Parser::AtomFeedBurner class for an atom feedburner feed" do
@@ -588,6 +592,6 @@
it "should pass any request options through to add_feed_to_multi"
it "should return a feed object if a single feed is passed in"
it "should return an return an array of feed objects if multiple feeds are passed in"
end
end
-end
\ No newline at end of file
+end