slight change of API, CR::Document now uses <action>_doc instead of <action>, also added #create! and #recreate! to Document instances

This commit is contained in:
Matt Aimonetti 2009-01-28 17:36:36 -08:00
parent e9f7456eab
commit fda5be213a
8 changed files with 185 additions and 108 deletions

View file

@ -62,7 +62,7 @@ describe CouchRest::Design do
describe "from a saved document" do
before(:each) do
@db = reset_test_db!
@db.save({
@db.save_doc({
"_id" => "_design/test",
"views" => {
"by_name" => {