spec/unit/simpledb_adapter_spec.rb in dm-adapter-simpledb-1.3.0 vs spec/unit/simpledb_adapter_spec.rb in dm-adapter-simpledb-1.4.0
- old
+ new
@@ -19,11 +19,12 @@
@sdb.should_receive(:put_attributes).with(
anything,
anything,
hash_including(
'simpledb_type' => ["products"],
- 'stock' => ["3"],
- 'name' => ["War and Peace"]))
+ 'stock' => ["3"],
+ 'name' => ["War and Peace"]),
+ :replace)
@record.save
end
end
describe "given an existing record" do