Permalink
Browse files

fix test as parse now also has a proc argument

  • Loading branch information...
1 parent ceb96f7 commit d329465333c7adce5a652da3a4bb0384087accca @archiloque archiloque committed Jul 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/feedzirra/feed_spec.rb
@@ -319,7 +319,7 @@ def self.able_to_parse?(val)
end
it 'should parse the xml' do
- Feedzirra::Parser::AtomFeedBurner.should_receive(:parse).with(@paul_feed[:xml]).and_return(@feed)
+ Feedzirra::Parser::AtomFeedBurner.should_receive(:parse).with(@paul_feed[:xml], an_instance_of(Proc)).and_return(@feed)
Feedzirra::Feed.add_url_to_multi(@multi, @paul_feed[:url], [], {}, {})
@easy_curl.on_success.call(@easy_curl)
end

0 comments on commit d329465

Please sign in to comment.