loopback/example/replication
gunjpan e244153eb7 Update tests to use registry for model creation
Current implementation of `app.model(modelName, settings)`
works as a sugar for model creation. In LB 3.0, this is
not supported anymore. This backporting:
- keeps the sugar method for model creation  for backward
compatibility
- updates test cases to use `app.registry.createModel()`
for model creation

Backport of #2401
2016-09-27 16:44:01 -04:00
..
app.js Update tests to use registry for model creation 2016-09-27 16:44:01 -04:00