summaryrefslogtreecommitdiff
path: root/spec/javascripts/user_callout_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/javascripts/user_callout_spec.js')
-rw-r--r--spec/javascripts/user_callout_spec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/javascripts/user_callout_spec.js b/spec/javascripts/user_callout_spec.js
index 097368db6e5..e174fdf35de 100644
--- a/spec/javascripts/user_callout_spec.js
+++ b/spec/javascripts/user_callout_spec.js
@@ -11,22 +11,22 @@ describe('UserCallout', function () {
loadFixtures(fixtureName);
this.userCallout = new UserCallout();
this.closeButton = $('.close-user-callout');
- this.userCalloutContainer = $('.user-callout');
this.userCalloutBtn = $('.user-callout-btn');
+ this.userCalloutContainer = $('.user-callout');
Cookie.set(USER_CALLOUT_COOKIE, 'false');
});
- it('shows when cookie is set to false', () => {
+ fit('shows when cookie is set to false', () => {
expect(Cookie.get(USER_CALLOUT_COOKIE)).toBeDefined();
expect(this.userCalloutContainer.is(':visible')).toBe(true);
});
- it('hides when user clicks on the dismiss-icon', () => {
+ fit('hides when user clicks on the dismiss-icon', () => {
this.closeButton.click();
expect(Cookie.get(USER_CALLOUT_COOKIE)).toBe('true');
});
- it('hides when user clicks on the "check it out" button', () => {
+ fit('hides when user clicks on the "check it out" button', () => {
this.userCalloutBtn.click();
expect(Cookie.get(USER_CALLOUT_COOKIE)).toBe('true');
});