Skip to content

Commit

Permalink
fix test as parse now also has a proc argument
Browse files Browse the repository at this point in the history
  • Loading branch information
archiloque committed Jul 20, 2011
1 parent ceb96f7 commit d329465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/feedzirra/feed_spec.rb
Expand Up @@ -319,7 +319,7 @@ def self.able_to_parse?(val)
end end


it 'should parse the xml' do 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], [], {}, {}) Feedzirra::Feed.add_url_to_multi(@multi, @paul_feed[:url], [], {}, {})
@easy_curl.on_success.call(@easy_curl) @easy_curl.on_success.call(@easy_curl)
end end
Expand Down

0 comments on commit d329465

Please sign in to comment.