Sha256: ab4a3b14dcef8f7a3fe1d3470955e5fe0cb177201c3c7e681331ceec648be47e
Contents?: true
Size: 613 Bytes
Versions: 78
Compression:
Stored size: 613 Bytes
Contents
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper]) describe Feedzirra::Parser::ITunesRSSOwner do before(:each) do # I don't really like doing it this way because these unit test should only rely on RSSEntry, # but this is actually how it should work. You would never just pass entry xml straight to the ITunesRssOwner @owner = Feedzirra::Parser::ITunesRSS.parse(sample_itunes_feed).itunes_owners.first end it "should parse the name" do @owner.name.should == "John Doe" end it "should parse the email" do @owner.email.should == "john.doe@example.com" end end
Version data entries
78 entries across 78 versions & 28 rubygems