Permalink
Browse files

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

… again.
  • Loading branch information...
creationix committed Feb 25, 2010
1 parent ebc61ca commit 910663c7408642f9d8114ea2dd7599e29e7971c1
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 {
@@ -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"
- );
- });
-});

0 comments on commit 910663c

Please sign in to comment.