loopback/test
gunjpan 832e2c391c Discard sugar method for model creation
Current implementation of `app.model(modelName, settings)`
works as a sugar for model creation. In 3.0, this is
not supported anymore. This implementation reports an
error when sugar is used for model creation.
Includes:
 - Updated app.model() method
 - Fixed test cases reflecting the change
2016-09-07 10:40:23 +02:00
..
e2e Separate error-checking and next/done logic from other logic in the test suite 2016-05-05 11:12:48 +07:00
fixtures resolve related models from correct registry 2016-08-25 12:51:29 +02:00
helpers Update tests for strong-error-handler 2016-06-07 13:26:18 -04:00
util test: fix change-tracking setup 2016-07-29 16:49:29 +02:00
access-control.integration.js Expose upsertWithWhere method 2016-09-02 18:10:47 +05:30
access-token.test.js Fix token middleware crash 2016-08-17 14:44:00 +02:00
acl.test.js Discard sugar method for model creation 2016-09-07 10:40:23 +02:00
app.test.js Discard sugar method for model creation 2016-09-07 10:40:23 +02:00
change-stream.test.js Discard sugar method for model creation 2016-09-07 10:40:23 +02:00
change.test.js Separate error-checking and next/done logic from other logic in the test suite 2016-05-05 11:12:48 +07:00
checkpoint.test.js Separate error-checking and next/done logic from other logic in the test suite 2016-05-05 11:12:48 +07:00
data-source.test.js Expose upsertWithWhere method 2016-09-02 18:10:47 +05:30
email.test.js Support 'alias' in mail transport config. 2016-08-16 16:24:56 +02:00
error-handler.test.js Cleanup unit-test added in 1fc51d129 2016-06-14 14:47:41 +02:00
geo-point.test.js update copyright statements 2016-05-03 15:50:21 -07:00
hidden-properties.test.js Separate error-checking and next/done logic from other logic in the test suite 2016-05-05 11:12:48 +07:00
integration.test.js Discard sugar method for model creation 2016-09-07 10:40:23 +02:00
karma.conf.js update copyright statements 2016-05-03 15:50:21 -07:00
key-value-model.test.js Add remoting for KeyValue model TTL feature 2016-08-29 14:46:41 -07:00
loopback.test.js common: add KeyValueModel 2016-08-10 14:15:22 +02:00
memory.test.js Separate error-checking and next/done logic from other logic in the test suite 2016-05-05 11:12:48 +07:00
model.application.test.js Separate error-checking and next/done logic from other logic in the test suite 2016-05-05 11:12:48 +07:00
model.test.js Expose upsertWithWhere method 2016-09-02 18:10:47 +05:30
registries.test.js Discard sugar method for model creation 2016-09-07 10:40:23 +02:00
relations.integration.js Discard sugar method for model creation 2016-09-07 10:40:23 +02:00
remote-connector.test.js test: increase timeout to prevent CI failures 2016-08-08 15:45:53 +02:00
remoting-coercion.test.js Discard sugar method for model creation 2016-09-07 10:40:23 +02:00
remoting.integration.js Expose upsertWithWhere method 2016-09-02 18:10:47 +05:30
replication.rest.test.js test: increase timeout to prevent CI failures 2016-08-08 15:45:53 +02:00
replication.test.js Expose upsertWithWhere method 2016-09-02 18:10:47 +05:30
rest.middleware.test.js Remove current-context API 2016-08-10 13:43:40 +02:00
role.test.js test: increase timeout to prevent CI failures 2016-08-08 15:45:53 +02:00
support.js update copyright statements 2016-05-03 15:50:21 -07:00
user.integration.js test: use local registry in test fixtures 2016-07-27 10:07:49 +02:00
user.test.js Rework email validation to use isemail 2016-09-06 14:09:00 +02:00