fixed db spec

This commit is contained in:
Chris Anderson 2009-02-27 10:58:48 -08:00
parent 80317f31a5
commit f8e8686537

View file

@ -312,8 +312,9 @@ describe CouchRest::Database do
}
}
@db.save_doc(doc)
doc['_rev'].should_not be_nil
doc['field'] << 'another value'
@db.save_doc(doc).should be_true
@db.save_doc(doc)["ok"].should be_true
end
it 'should be there' do