Permalink
Browse files

minor tweeks so test always run regardless of whos running them

  • Loading branch information...
1 parent f5beba0 commit 493ce3f2462861b498cc159f46aca672be895a89 @dscape committed Aug 31, 2011
Showing with 5 additions and 7 deletions.
  1. +2 −4 cfg/tests.js
  2. +1 −1 package.json
  3. +2 −2 tests/doc/bulk.js
View
@@ -5,11 +5,9 @@
* - Or else what?
* - Or else nothin'
*/
-var cfg = { host: "localhost"
- , port: "5984"
+var cfg = { host: 'nodejsbug.iriscouch.com'
+ , port: '5984'
, ssl: false // Not yet
- , user: "admin"
- , pass: "admin"
};
/* NOT REQUIRED */
View
@@ -1,7 +1,7 @@
{ "name": "nano"
, "description": "minimalistic couchdb driver for node.js"
, "homepage": "http://github.com/dscape/nano"
-, "version": "0.7.1"
+, "version": "0.7.2"
, "author": "Nuno Job <nunojobpinto@gmail.com> (http://nunojob.com)"
, "keywords": ["couchdb", "data", "request", "json", "nosql", "micro", "nano"]
, "dependencies": {"request": "~2.1.1", "underscore": "~1.1.7"}
View
@@ -24,8 +24,8 @@ function bulk_docs_ok(e,h,b) {
nano.db.destroy(db_name("a"));
assert.isNull(e);
assert.equal(b.length, "2");
- assert.ok(b[0].ok);
- assert.ok(b[1].ok);
+ assert.ok(b[0].id);
+ assert.ok(b[1].id);
}
vows.describe('doc.bulk').addBatch({

0 comments on commit 493ce3f

Please sign in to comment.