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:
parent
ab295a073a
commit
9c880c0bba
13 changed files with 588 additions and 318 deletions
|
@ -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;
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue