1
0
Fork 0
mirror of https://github.com/mmumshad/ansible-playable.git synced 2025-03-09 23:38:54 +00:00

Update server side test cases and disable client side tests for now. Integrate later.

This commit is contained in:
Mumshad Mannambeth 2017-07-07 12:23:45 -04:00
parent ab295a073a
commit 9c880c0bba
13 changed files with 588 additions and 318 deletions

View file

@ -36,10 +36,10 @@ describe('CustomModule API Router:', function() {
expect(customModuleIndex).to.equal(routerStub);
});
describe('GET /api/custom_modules/query', function() {
describe('GET /api/custom_modules/list', function() {
it('should route to customModule.controller.index', function() {
expect(routerStub.post
.withArgs('/query', 'customModuleCtrl.index')
.withArgs('/list', 'customModuleCtrl.index')
).to.have.been.calledOnce;
});
});