9 describe('Cookie', function(){
11 it("should set a cookie", function(){
13 Cookie.write('test', 1);
17 it('should read and write a cookie', function(){
22 Cookie.write('key', 'value', options);
24 expect(Cookie.read('key', options)).toBe('value');
26 Cookie.dispose('key', options);
28 expect(Cookie.read('key', options)).toBeNull();