spec/mongo_atomic_spec.rb in adapter-mongo-0.8.0 vs spec/mongo_atomic_spec.rb in adapter-mongo-0.8.1

- old
+ new

@@ -16,10 +16,10 @@ it "allows updating only part of a document" do oid = BSON::ObjectId.new adapter.write(oid, {'a' => 'c', 'b' => 'd'}) adapter.write(oid, {'a' => 'z'}) - adapter.read(oid).should eq({ + expect(adapter.read(oid)).to eq({ 'a' => 'z', 'b' => 'd', }) end end