spec/lib/indexers/base_spec.rb in picky-4.0.0pre2 vs spec/lib/indexers/base_spec.rb in picky-4.0.0pre3
- old
+ new
@@ -33,10 +33,10 @@
some_index_or_category.should_receive(:source).any_number_of_times.and_return :some_source
end
it 'processes' do
categories = stub :categories, :empty => nil, :cache => nil
- indexer.should_receive(:process).once.with categories, anything
+ indexer.should_receive(:process).once.with :some_source, categories, anything
indexer.prepare categories
end
it 'calls the right methods on the categories' do
indexer.stub! :process
\ No newline at end of file