loopback/example
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
..
client-server Backport of #2407 2016-08-05 11:55:32 -04:00
colors Update tests to use registry for model creation 2016-09-27 16:44:01 -04:00
context Backport of #2407 2016-08-05 11:55:32 -04:00
mobile-models Backport of #2407 2016-08-05 11:55:32 -04:00
replication Update tests to use registry for model creation 2016-09-27 16:44:01 -04:00
simple-data-source Backport of #2407 2016-08-05 11:55:32 -04:00