Merge pull request #1934 from strongloop/fix-failing-tests
Fix failing tests
This commit is contained in:
commit
cdb2605633
|
@ -111,13 +111,11 @@ module.exports = function(registry) {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Finds one record matching the optional filter object. If not found, creates the object using
|
* Finds one record matching the optional filter object. If not found, creates
|
||||||
* the data provided as second argument.
|
* the object using the data provided as second argument. In this sense it is
|
||||||
* In this sense it is the same as `find`, but limited to one object.
|
* the same as `find`, but limited to one object. Returns an object, not
|
||||||
* Returns an object, not collection.
|
* collection. If you don't provide the filter object argument, it tries to
|
||||||
*
|
* locate an existing object that matches the `data` argument.
|
||||||
* If you don't provide the filter object argument, it tries to locate an existing object that
|
|
||||||
* matches the `data` argument.
|
|
||||||
*
|
*
|
||||||
* @options {Object} [filter] Optional Filter object; see below.
|
* @options {Object} [filter] Optional Filter object; see below.
|
||||||
* @property {String|Object|Array} fields Identify fields to include in return result.
|
* @property {String|Object|Array} fields Identify fields to include in return result.
|
||||||
|
|
Loading…
Reference in New Issue