Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Smith committed Jan 6, 2016
1 parent 02762ca commit fa64234
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/associations/oneToOne/lazy.test.js
Expand Up @@ -14,11 +14,14 @@ it.describe("patio.Model oneToOne lazy", function (it) {
it.beforeAll(function () {
Works = patio.addModel("works").manyToOne("employee");
Employee = patio.addModel("employee").oneToOne("works");
return helper.createSchemaAndSync(true);
return helper.createSchemaAndSync(true).chain(function(){
console.log("1. schema made");
});
});


it.should("have associations", function () {
console.log("2. run the tests");
assert.deepEqual(Employee.associations, ["works"]);
assert.deepEqual(Works.associations, ["employee"]);
var emp = new Employee();
Expand Down Expand Up @@ -187,4 +190,4 @@ it.describe("patio.Model oneToOne lazy", function (it) {
it.afterAll(function () {
return helper.dropModels();
});
});
});

0 comments on commit fa64234

Please sign in to comment.