spec/feedzirra/feed_spec.rb in feedzirra-0.0.23 vs spec/feedzirra/feed_spec.rb in feedzirra-0.0.24

- old
+ new

@@ -233,11 +233,11 @@ end end 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]) Curl::Easy.should_receive(:new).and_yield(@easy_curl) end @@ -375,10 +375,10 @@ end end 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) Curl::Easy.should_receive(:new).and_yield(@easy_curl) \ No newline at end of file