Sha256: 8a02aebfc512a49f91053e970e92a46b9b1ba3b877242368b166e73a24175f9f
Contents?: true
Size: 1.4 KB
Versions: 6
Compression:
Stored size: 1.4 KB
Contents
require "rubygems" require "spec" # gem install redgreen for colored test output begin require "redgreen" unless ENV['TM_CURRENT_LINE']; rescue LoadError; end path = File.expand_path(File.dirname(__FILE__) + "/../lib/") $LOAD_PATH.unshift(path) unless $LOAD_PATH.include?(path) require "lib/feedzirra" def load_sample(filename) File.read("#{File.dirname(__FILE__)}/sample_feeds/#{filename}") end def sample_atom_feed load_sample("AmazonWebServicesBlog.xml") end def sample_atom_entry_content load_sample("AmazonWebServicesBlogFirstEntryContent.xml") end def sample_itunes_feed load_sample("itunes.xml") end def sample_rdf_feed load_sample("HREFConsideredHarmful.xml") end def sample_rdf_entry_content load_sample("HREFConsideredHarmfulFirstEntry.xml") end def sample_rss_feed_burner_feed load_sample("SamHarrisAuthorPhilosopherEssayistAtheist.xml") end def sample_rss_feed load_sample("TenderLovemaking.xml") end def sample_rss_entry_content load_sample("TenderLovemakingFirstEntry.xml") end def sample_feedburner_atom_feed load_sample("PaulDixExplainsNothing.xml") end def sample_feedburner_atom_entry_content load_sample("PaulDixExplainsNothingFirstEntryContent.xml") end def sample_wfw_feed load_sample("PaulDixExplainsNothingWFW.xml") end def sample_media_rss_feed load_sample("KeteHorowhenua.xml") end def sample_media_rss_entry_content load_sample("KeteHorowhenuaFirstEntry.xml") end
Version data entries
6 entries across 6 versions & 2 rubygems