s/localhost/127.0.0.1/
This commit is contained in:
parent
12c09085df
commit
7461e3fede
16 changed files with 46 additions and 46 deletions
|
@ -159,7 +159,7 @@ describe CouchRest::Database do
|
|||
|
||||
docs = [{'key' => 'value'}, {'_id' => 'totally-uniq'}]
|
||||
id_docs = [{'key' => 'value', '_id' => 'asdf6sgadkfhgsdfusdf'}, {'_id' => 'totally-uniq'}]
|
||||
CouchRest.should_receive(:post).with("http://localhost:5984/couchrest-test/_bulk_docs", {:docs => id_docs})
|
||||
CouchRest.should_receive(:post).with("http://127.0.0.1:5984/couchrest-test/_bulk_docs", {:docs => id_docs})
|
||||
|
||||
@db.bulk_save(docs)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue