diff --git a/test/spec/services/angular-apimock.js b/test/spec/services/angular-apimock.js index 047d1e2..9c6d60c 100644 --- a/test/spec/services/angular-apimock.js +++ b/test/spec/services/angular-apimock.js @@ -121,6 +121,21 @@ describe('Service: apiMock', function () { $timeout.flush(); } + describe('mocking', function () { + beforeEach(function () { + setGlobalCommand(true); + }); + + afterEach(function () { + unsetGlobalCommand(); + }); +/* + it('should ignore URLs outside of apiPath', inject(function (_$rootScope_, _$compile_, $templateCache) { + $templateCache.put('scripts/hello-world.html', '
hello world!
'); + $http.get('scripts/hello-world.html'); + expect('
hello world!
'); + }));*/ + }); describe('URL flag', function () {