got view queries happening correctly
This commit is contained in:
parent
32ffbfe019
commit
19a70ffd7d
7 changed files with 106 additions and 60 deletions
|
@ -418,6 +418,9 @@ describe CouchRest::Database do
|
|||
@db.delete doc
|
||||
lambda{@db.get @docid}.should raise_error
|
||||
end
|
||||
it "should fail without an _id" do
|
||||
lambda{@db.delete({"not"=>"a real doc"})}.should raise_error(ArgumentError)
|
||||
end
|
||||
end
|
||||
|
||||
it "should list documents" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue