Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
seriema committed Nov 29, 2015
1 parent d57c25f commit 8720245
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/spec/services/angular-apimock.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', '<div>hello world!</div>');
$http.get('scripts/hello-world.html');
expect('<div>hello world!</div>');
}));*/
});

describe('URL flag', function () {

Expand Down

0 comments on commit 8720245

Please sign in to comment.