Comparing version 0.0.2 to 0.0.3
{ "name": "nano" | ||
, "description": "NanoCouch is a minimalistic driver for CouchDB built on mikeals/request" | ||
, "homepage": "http://github.com/dscape/nanocouch" | ||
, "version": "0.0.2" | ||
, "version": "0.0.3" | ||
, "author": "Nuno Job <nunojobpinto@gmail.com> (http://nunojob.com)" | ||
@@ -6,0 +6,0 @@ , "keywords": ["CouchDB", "data", "request", "json", "nosql", "micro", "nano"] |
@@ -6,3 +6,3 @@ var vows = require('/usr/lib/node_modules/vows/lib/vows') | ||
function destroyDb (callback) { | ||
function destroy_db (callback) { | ||
nano.db.create("de1", function () { | ||
@@ -16,3 +16,3 @@ nano.db.destroy("de1", function (e,b) { | ||
function destroyDbWorked (e,b) { | ||
function destroy_db_ok (e,b) { | ||
assert.isNull(e); | ||
@@ -23,6 +23,6 @@ assert.equal(b.ok, true); | ||
vows.describe('nano.db.destroy').addBatch({ | ||
"nano.db.destroy(foo)": { | ||
topic: function () { destroyDb(this.callback); } | ||
, "=": destroyDbWorked | ||
"destroy_db": { | ||
topic: function () { destroy_db(this.callback); } | ||
, "=": destroy_db_ok | ||
} | ||
}).exportTo(module); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10494
302