blob: e49c52bea28a2bb56503bc8d0ad30b04ff36d595 [file] [log] [blame]
Matteo Scandolo57483dd2015-11-05 11:58:53 +01001'use strict';
2
Matteo Scandoloba4c9aa2016-02-11 09:35:29 -08003describe('The xos.helper module', function(){
Matteo Scandolo57483dd2015-11-05 11:58:53 +01004
5 var app, httpProvider;
6
7 beforeEach(module('xos.helpers'));
Matteo Scandoloba4c9aa2016-02-11 09:35:29 -08008
Matteo Scandolo57483dd2015-11-05 11:58:53 +01009 beforeEach(function(){
Matteo Scandoloba4c9aa2016-02-11 09:35:29 -080010 module(function(_$httpProvider_){
11 console.log('beforeEach');
12 httpProvider = _$httpProvider_;
Matteo Scandolo57483dd2015-11-05 11:58:53 +010013 });
14 });
15
Matteo Scandoloba4c9aa2016-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 Scandolo57483dd2015-11-05 11:58:53 +010020 }));
21
22});