blob: e49c52bea28a2bb56503bc8d0ad30b04ff36d595 [file] [log] [blame]
Matteo Scandolof0830892015-11-05 11:58:53 +01001'use strict';
2
Matteo Scandolo32f83922016-02-11 09:35:29 -08003describe('The xos.helper module', function(){
Matteo Scandolof0830892015-11-05 11:58:53 +01004
5 var app, httpProvider;
6
7 beforeEach(module('xos.helpers'));
Matteo Scandolo32f83922016-02-11 09:35:29 -08008
Matteo Scandolof0830892015-11-05 11:58:53 +01009 beforeEach(function(){
Matteo Scandolo32f83922016-02-11 09:35:29 -080010 module(function(_$httpProvider_){
11 console.log('beforeEach');
12 httpProvider = _$httpProvider_;
Matteo Scandolof0830892015-11-05 11:58:53 +010013 });
14 });
15
Matteo Scandolo32f83922016-02-11 09:35:29 -080016 it('should set SetCSRFToken interceptor', inject(function($http){
17 console.log('httpProvider',httpProvider);
18 expect(true).toBeTrue();
19 // expect(httpProvider.interceptors).toContain('SetCSRFToken');
Matteo Scandolof0830892015-11-05 11:58:53 +010020 }));
21
22});