fixed db spec
This commit is contained in:
parent
80317f31a5
commit
f8e8686537
|
@ -312,8 +312,9 @@ describe CouchRest::Database do
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@db.save_doc(doc)
|
@db.save_doc(doc)
|
||||||
|
doc['_rev'].should_not be_nil
|
||||||
doc['field'] << 'another value'
|
doc['field'] << 'another value'
|
||||||
@db.save_doc(doc).should be_true
|
@db.save_doc(doc)["ok"].should be_true
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should be there' do
|
it 'should be there' do
|
||||||
|
|
Loading…
Reference in a new issue