Skip to content

Commit 2df7ab8

Browse files
committed
Quickfix for making tests green in grunt (and Travis?) - should use $.cookie() along with $.removeCookie() to remove cookies though...
1 parent a464b55 commit 2df7ab8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ test('defaults', function () {
169169
$.cookie.defaults.path = '/';
170170
ok($.cookie('c', 'v').match(/path=\//), 'should use options from defaults');
171171
ok($.cookie('c', 'v', { path: '/foo' }).match(/path=\/foo/), 'options argument has precedence');
172+
$.removeCookie('c');
172173
});
173174

174175
test('raw: true', function () {

0 commit comments

Comments
 (0)