spec/feedjira/parser/rss_spec.rb in feedjira-1.5.0 vs spec/feedjira/parser/rss_spec.rb in feedjira-1.6.0
- old
+ new
@@ -39,11 +39,12 @@
it "should parse the url" do
expect(@feed.url).to eq "http://tenderlovemaking.com"
end
- it "should not parse hub urls" do
- expect(@feed.hubs).to be_nil
+ it "should parse the hub urls" do
+ expect(@feed.hubs.count).to eq 1
+ expect(@feed.hubs.first).to eq "http://pubsubhubbub.appspot.com/"
end
it "should provide an accessor for the feed_url" do
expect(@feed).to respond_to :feed_url
expect(@feed).to respond_to :feed_url=