spec/processor/document_store_spec.rb in pupa-0.0.8 vs spec/processor/document_store_spec.rb in pupa-0.0.9
- old
+ new
@@ -6,10 +6,10 @@
Pupa::Processor::DocumentStore::FileStore.should_receive(:new).with('/tmp').and_call_original
Pupa::Processor::DocumentStore.new('/tmp')
end
it 'should use Redis' do
- Pupa::Processor::DocumentStore::RedisStore.should_receive(:new).with('redis://localhost').and_call_original
+ Pupa::Processor::DocumentStore::RedisStore.should_receive(:new).with('redis://localhost', {}).and_call_original
Pupa::Processor::DocumentStore.new('redis://localhost')
end
end
end