fixed db spec
This commit is contained in:
parent
80317f31a5
commit
f8e8686537
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue