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:
parent
e9f7456eab
commit
fda5be213a
8 changed files with 185 additions and 108 deletions
|
@ -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" => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue