Skip to content

Commit

Permalink
Moving model tests to model subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
vikeen committed Jun 5, 2015
1 parent 88cd2b5 commit 9ad9daf
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Expand Up @@ -2,7 +2,7 @@

var it = require('it'),
assert = require('assert'),
helper = require("./data/model.helper.js"),
helper = require("./../data/model.helper.js"),
patio = require("index"),
sql = patio.SQL;

Expand Down
@@ -1,7 +1,7 @@
"use strict";
var it = require('it'),
assert = require('assert'),
helper = require("./data/model.helper.js"),
helper = require("./../data/model.helper.js"),
patio = require("index");


Expand Down
@@ -1,7 +1,7 @@
"use strict";
var it = require('it'),
assert = require('assert'),
helper = require("./data/model.helper.js"),
helper = require("./../data/model.helper.js"),
patio = require("index");


Expand Down
4 changes: 2 additions & 2 deletions test/model.test.js → test/models/model.test.js
Expand Up @@ -2,12 +2,12 @@

var it = require('it'),
assert = require('assert'),
helper = require("./data/model.helper.js"),
helper = require("./../data/model.helper.js"),
patio = require("index"),
sql = patio.SQL,
comb = require("comb-proxy"),
hitch = comb.hitch,
config = require("./test.config");
config = require("./../test.config.js");

var gender = ["M", "F"];

Expand Down
@@ -1,8 +1,9 @@
"use strict";

var it = require('it'),
assert = require('assert'),
patio = require("index"),
config = require("./test.config.js"),
config = require("./../test.config.js"),
comb = require("comb-proxy");

var DB1, DB2;
Expand Down Expand Up @@ -164,7 +165,6 @@ it.describe("Models from mutliple databases", function (it) {
assert.lengthOf(res[0], 0);
assert.lengthOf(res[1], 0);
});
;
});

it.afterAll(dropTableAndDisconnect);
Expand Down

0 comments on commit 9ad9daf

Please sign in to comment.