Skip to content

Commit

Permalink
removed the feed being passed to Curl::Multi.new
Browse files Browse the repository at this point in the history
This is weird. There are no other calls to Curl::Multi.new that pass
a feed that I can find and the source for curb specifies that it
doesn't take any parameters. I've removed the feeds being passed
in the specs and all tests now pass.
  • Loading branch information
Jason Perkins committed Aug 3, 2010
1 parent 34671cf commit b0979bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/feedzirra/feed_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def self.able_to_parse?(val)

describe "#add_url_to_multi" do
before(:each) do
@multi = Curl::Multi.new(@paul_feed[:url])
@multi = Curl::Multi.new
@multi.stub!(:add)
@easy_curl = Curl::Easy.new(@paul_feed[:url])

Expand Down Expand Up @@ -377,7 +377,7 @@ def self.able_to_parse?(val)

describe "#add_feed_to_multi" do
before(:each) do
@multi = Curl::Multi.new(@paul_feed[:url])
@multi = Curl::Multi.new
@multi.stub!(:add)
@easy_curl = Curl::Easy.new(@paul_feed[:url])
@feed = Feedzirra::Feed.parse(sample_feedburner_atom_feed)
Expand Down

0 comments on commit b0979bd

Please sign in to comment.