Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 4546632

Browse files
committed
Remove describe.model
1 parent f4dc394 commit 4546632

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

lib/helpers.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,6 @@ _beforeEach.withApp = function(app) {
2020
});
2121
}
2222

23-
_describe.model = function describeModel(app, modelName, cb) {
24-
assert(app, 'describeModel called without app');
25-
26-
describe('Model: ' + modelName, function() {
27-
beforeEach(function() {
28-
this.app = app;
29-
this.model = loopback.getModel(modelName);
30-
assert(this.model, 'you must define a model before testing it');
31-
});
32-
cb();
33-
});
34-
}
35-
3623
function mixin(obj, into) {
3724
Object.keys(obj).forEach(function(key) {
3825
if(typeof obj[key] === 'function') {

0 commit comments

Comments
 (0)