Sha256: cff64ff53264c49598edf157ec5ed29637cfb29ea37c9e530baaa1466577faf3
Contents?: true
Size: 606 Bytes
Versions: 6
Compression:
Stored size: 606 Bytes
Contents
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper]) describe Feedjira::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 = Feedjira::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
6 entries across 6 versions & 1 rubygems