spec/writer_spec.rb in alephant-publisher-0.0.3 vs spec/writer_spec.rb in alephant-publisher-0.0.4
- old
+ new
@@ -55,11 +55,11 @@
options,
'renderer_id/component_id/42de5e5c6f74b9fe4d956704a6d9e1c7/0'
)
Alephant::Lookup::LookupHelper.any_instance
- .should_receive(:process!)
+ .should_receive(:batch_process)
subject.write(data, 0)
end
it "should put the correct location, content to cache" do
@@ -71,10 +71,10 @@
.any_instance
.stub(:batch_write)
Alephant::Lookup::LookupHelper
.any_instance
- .stub(:process!)
+ .stub(:batch_process)
Alephant::Lookup::LookupTable
.any_instance
.stub(:table_name)