Sha256: 551f50a9d3e2d6c12121b5c4f71ab3d71ba25c2141d1b5e7130e9d2f3b71f035

Contents?: true

Size: 1.25 KB

Versions: 54

Compression:

Stored size: 1.25 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

Version data entries

54 entries across 54 versions & 20 rubygems

Version Path
astro-feedzirra-0.0.12 spec/spec_helper.rb
astro-feedzirra-0.0.8.20090419 spec/spec_helper.rb
dakrone-feedzirra-0.0.16.1 spec/spec_helper.rb
dinsley-feedzirra-0.0.10 spec/spec_helper.rb
dinsley-feedzirra-0.0.11 spec/spec_helper.rb
dinsley-feedzirra-0.0.8 spec/spec_helper.rb
dinsley-feedzirra-0.0.9 spec/spec_helper.rb
eric-feedzirra-0.0.8 spec/spec_helper.rb
julien51-feedzirra-0.0.13 spec/spec_helper.rb
julien51-feedzirra-0.0.14 spec/spec_helper.rb
julien51-feedzirra-0.0.16 spec/spec_helper.rb
logophobia-feedzirra-0.0.15 spec/spec_helper.rb
maxlapshin-feedzirra-0.0.16.1 spec/spec_helper.rb
maxlapshin-feedzirra-0.0.16.2 spec/spec_helper.rb
maxlapshin-feedzirra-0.0.16.3 spec/spec_helper.rb
maxlapshin-feedzirra-0.0.16.4 spec/spec_helper.rb
maxlapshin-feedzirra-0.0.16.5 spec/spec_helper.rb
maxlapshin-feedzirra-0.0.16.6 spec/spec_helper.rb
maxlapshin-feedzirra-0.0.16 spec/spec_helper.rb
mwilliams-feedzirra-0.0.14 spec/spec_helper.rb