spec/cache_spec.rb in alephant-cache-0.0.3 vs spec/cache_spec.rb in alephant-cache-0.0.4
- old
+ new
@@ -46,10 +46,10 @@
end
describe "put(id, data)" do
it "sets bucket path/id content data" do
s3_object_collection = double()
- s3_object_collection.should_receive(:write).with(:data)
+ s3_object_collection.should_receive(:write).with(:data,:metadata=>{})
s3_bucket = double()
s3_bucket.should_receive(:objects).and_return(
{
"path/id" => s3_object_collection