Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove the bad test for jsondb and change the dofile to run all tests…

… again.
  • Loading branch information...
commit 910663c7408642f9d8114ea2dd7599e29e7971c1 1 parent ebc61ca
@creationix authored
Showing with 1 addition and 23 deletions.
  1. +1 −1  do
  2. +0 −22 test/jsondb/test-interface-structure.js
View
2  do
@@ -7,7 +7,7 @@ var commands = {
},
test: function () {
puts("Running tests:");
- exec("ls test/sqlite/test-*.js | xargs -L 1 /usr/local/bin/node", function (error, stdout, stderr){
+ exec("ls test/**/test-*.js | xargs -L 1 /usr/local/bin/node", function (error, stdout, stderr){
if (error) {
throw(error);
} else {
View
22 test/jsondb/test-interface-structure.js
@@ -1,22 +0,0 @@
-process.mixin(require("../common"));
-before("jsondb", function (db) {
- // Check that the db connection has the required methods
- ["get_store", "close"].forEach(function (method_name) {
- assert.equal(
- typeof db[method_name],
- 'function',
- inspect(method_name) + " is a required method in the Connection interface"
- );
- });
-
- var stuff = db.get_store('stuff');
-
- // Check that the store has the required methods
- ["get", "find", "each", "all", "save", "remove", "nuke"].forEach(function (method_name) {
- assert.equal(
- typeof stuff[method_name],
- 'function',
- inspect(method_name) + " is a required method in the Store interface"
- );
- });
-});
Please sign in to comment.
Something went wrong with that request. Please try again.