blob: 6a74040dae7360ec21bd7bdc128ee2df72c52bba [file] [log] [blame]
Matteo Scandolof0830892015-11-05 11:58:53 +01001'use strict';
2
3describe('The xos.helper module', () => {
4
5 var app, httpProvider;
6
7 beforeEach(module('xos.helpers'));
8 beforeEach(function(){
9 module(function($httpProvider){
10 httpProvider = $httpProvider;
11 });
12 });
13
14
15
16 it('should set SetCSRFToken interceptor', inject(($http) => {
17 expect(httpProvider.interceptors).toContain('SetCSRFToken');
18 }));
19
20});