summaryrefslogtreecommitdiff
path: root/spec/frontend/groups/landing_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/groups/landing_spec.js')
-rw-r--r--spec/frontend/groups/landing_spec.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/frontend/groups/landing_spec.js b/spec/frontend/groups/landing_spec.js
index f90f541eb96..d60adea202b 100644
--- a/spec/frontend/groups/landing_spec.js
+++ b/spec/frontend/groups/landing_spec.js
@@ -159,7 +159,10 @@ describe('Landing', () => {
});
it('should call Cookies.set', () => {
- expect(Cookies.set).toHaveBeenCalledWith(test.cookieName, 'true', { expires: 365 });
+ expect(Cookies.set).toHaveBeenCalledWith(test.cookieName, 'true', {
+ expires: 365,
+ secure: false,
+ });
});
});