loopback-datasource-juggler/test
Bryan Clark 342bc2f782 prevent upsert overwriting default values with applyDefaultValues option
Creates a new applyDefaultValues option on the Model constructor
defaulting to true, the current behaviour.

Updates the dao module to pass `{ applyDefaultValues: false }` to the
Model constructor during the updateOrCreate method when we assume an
update is happening.
2015-07-14 09:08:10 -07:00
..
CustomTypeForeignKey.test.js Fix the test case 2015-03-10 21:26:36 -07:00
async-observer.test.js Enhance the apis and add more tests 2015-05-26 10:15:39 -07:00
basic-querying.test.js Fix the test cases so that they be run with the mssql connector 2015-03-27 14:18:17 -07:00
common.batch.js test: undefined property values are preserved 2015-02-04 09:08:28 +01:00
common_test.js add a flag to callback of findOrCreate to indicate find or create 2014-12-25 22:19:15 +08:00
crud-with-options.test.js Pass-through options from save to create 2015-05-10 10:44:22 +02:00
datatype.test.js Conditionally pass options to connector CRUD methods 2015-05-13 09:36:45 -07:00
default-scope.test.js fix default include in default scope fails findById 2014-12-11 15:14:35 +08:00
defaults.test.js prevent upsert overwriting default values with applyDefaultValues option 2015-07-14 09:08:10 -07:00
discovery.test.js Allow custom name mapping for discovered models 2015-04-22 08:42:47 -07:00
events.js Fix `deleteById(id)` and other test failures 2015-02-13 09:34:40 -08:00
geo.test.js Fix the floating number comparison 2015-01-05 10:53:26 -08:00
hooks.test.js Intent-based hooks for persistence 2015-01-29 08:43:52 +01:00
include.test.js Dedupe ids args of inq for include 2015-05-29 10:50:37 -07:00
init.js ModelBaseClass: promise mode for notifyObserversOf 2015-02-17 18:19:21 +01:00
introspection.test.js Tidy up model building from data sources 2014-09-12 14:25:35 -07:00
json.test.js Reformat the code 2014-01-24 09:09:53 -08:00
loopback-data.test.js Reformat the code 2014-01-24 09:09:53 -08:00
loopback-dl.test.js Make sure base property definitions are cloned 2015-07-10 10:03:51 -07:00
manipulation.test.js Fix the test cases so that they be run with the mssql connector 2015-03-27 14:18:17 -07:00
memory.test.js use fromDb to deserialize data after save in Memory connector 2015-07-14 09:08:09 -07:00
mixins.test.js fix #429 Multiple Models can't mixin same class 2015-03-11 16:08:50 +08:00
model-definition.test.js Add unit-test for "array" type 2015-05-04 15:00:06 +02:00
performance.coffee Reformat the code 2014-01-24 09:09:53 -08:00
persistence-hooks.suite.js Assert the existence of instance 2015-07-02 14:56:46 -07:00
relations.test.js Fix for issues #622 & #623 2015-06-12 01:55:25 +05:30
schema.test.js Remove workaround for perfomance degradation 2015-02-10 13:28:47 +03:00
scope.test.js Don't cache static scope method results #575 2015-07-03 10:35:26 +02:00
spec_helper.js Remove dep on sinon 2015-05-20 09:13:56 -07:00
test1-schemas.json Reformat the code 2014-01-24 09:09:53 -08:00
test2-schemas.json Reformat the code 2014-01-24 09:09:53 -08:00
transient.test.js Remove legacy Schema references 2014-09-04 18:01:04 +02:00
util.test.js Dedupe ids args of inq for include 2015-05-29 10:50:37 -07:00
validations.test.js Correctly handle validatesUniquenessOf(idName) 2015-07-13 12:56:49 +02:00