diff --git a/src/app/components/service/utils.service.spec.js b/src/app/components/service/utils.service.spec.js new file mode 100644 index 0000000..67cb46c --- /dev/null +++ b/src/app/components/service/utils.service.spec.js @@ -0,0 +1,28 @@ +(function() { + 'use strict'; + + describe('util services', function() { + // var UtilService, httpBackend; + + // beforeEach(module('dialoga')); + + // beforeEach(inject(function(_UtilService_, $httpBackend) { + // UtilService = _UtilService_; + // httpBackend = $httpBackend; + // })); + + // it('should do something', function() { + // var url = 'http://example.com/api/v1/data/103358'; + // httpBackend.whenGET(url).respond({}); + + // UtilService.getData().then(function(result) { + + // expect(result.data).toBeDefined(); + // expect(result.data.title).toEqual('My Title'); + + // }); + + // httpBackend.flush(); + // }); + }); +})(); -- libgit2 0.21.2