(methodName, expectedAccessType)
| 701 | shouldReturn('unkown-model-method', ACL.EXECUTE); |
| 702 | |
| 703 | function shouldReturn(methodName, expectedAccessType) { |
| 704 | describe(methodName, function() { |
| 705 | it('should return ' + expectedAccessType, function() { |
| 706 | const remoteMethod = {name: methodName}; |
| 707 | assert.equal( |
| 708 | User._getAccessTypeForMethod(remoteMethod), |
| 709 | expectedAccessType, |
| 710 | ); |
| 711 | }); |
| 712 | }); |
| 713 | } |
| 714 | }); |
| 715 | |
| 716 | describe('Model.getChangeModel()', function() { |
no outgoing calls
no test coverage detected
searching dependent graphs…