moved specs so the autotest filemapping works better
This commit is contained in:
parent
4d0b9302f7
commit
902e1bed26
3 changed files with 4 additions and 2 deletions
|
@ -59,6 +59,8 @@ module CouchRest
|
|||
RestClient.get "#{@root}/#{doc}/#{name}"
|
||||
end
|
||||
|
||||
|
||||
|
||||
# Save a document to CouchDB. This will use the <tt>_id</tt> field from the document as the id for PUT, or request a new UUID from CouchDB, if no <tt>_id</tt> is present on the document. IDs are attached to documents on the client side because POST has the curious property of being automatically retried by proxies in the event of network segmentation and lost responses.
|
||||
def save doc
|
||||
if doc['_attachments']
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/spec_helper'
|
||||
require File.dirname(__FILE__) + '/../../spec_helper'
|
||||
|
||||
describe CouchRest do
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/spec_helper'
|
||||
require File.dirname(__FILE__) + '/../../spec_helper'
|
||||
|
||||
describe CouchRest::Database do
|
||||
before(:each) do
|
Loading…
Reference in a new issue