Sha256: 13b4ce7067d4f1504a991b3b2fda6a5193155e4ffce364513b6fd15646280d0e
Contents?: true
Size: 876 Bytes
Versions: 62
Compression:
Stored size: 876 Bytes
Contents
(function () { 'use strict'; describe('WORKAREA.addToCalendarButtons', function () { describe('init', function () { after(function () { $('.tooltipster-base').remove(); }); it('should toggle content on click', function () { this.fixture = fixture.load('add_to_calendar_button.html'); this.$button = $('[data-add-to-calendar-button]'); this.$toggle = $('[data-add-to-calendar-button-toggle]'); WORKAREA.addToCalendarButtons.init($(this.fixture)); this.$button.tooltipster('show'); expect($('.tooltipster-content').text()).to.include('Foo'); this.$toggle.trigger('click'); expect($('.tooltipster-content').text()).to.include('Bar'); }); }); }); }());
Version data entries
62 entries across 62 versions & 1 rubygems