Merge pull request #181 from strongloop/feature/add-new-disableMethod-api
Use new api for disabling a remote method.
This commit is contained in:
commit
72a754b099
|
@ -342,7 +342,7 @@ describe('explorer', function() {
|
|||
expect(paths).to.contain('/products/findOne');
|
||||
|
||||
var Product = app.models.Product;
|
||||
Product.disableRemoteMethod('findOne', true);
|
||||
Product.disableRemoteMethodByName('findOne');
|
||||
|
||||
// Request swagger.json again
|
||||
request(app)
|
||||
|
|
Loading…
Reference in New Issue