fixed bulk_load/get_bulk and the specs

This commit is contained in:
Matt Aimonetti 2009-05-13 20:44:57 -07:00
parent 0c0b6ecff2
commit 92b77a9649
3 changed files with 5 additions and 2 deletions

View file

@ -602,7 +602,7 @@ describe CouchRest::Database do
it "should have the bulk_load macro" do
rs = @db.bulk_load ["doc0", "doc7"]
rs['rows'].length.should == 2
ds['rows'][0]['doc']['another'].should == "doc"
rs['rows'][0]['doc']['another'].should == "doc"
end
end