Sha256: 3783fb8c55cf4adc9598df415aeea2097a2ecb6a41ac9ffdf9e4844a61f46be6
Contents?: true
Size: 617 Bytes
Versions: 62
Compression:
Stored size: 617 Bytes
Contents
(function () { 'use strict'; describe('WORKAREA.optionalFields', function () { describe('init', function () { it('toggles normal DOM', function () { this.fixtures = fixture.load('optional_fields.html'); WORKAREA.optionalFields.init($(this.fixtures)); expect($('button.link').text()).to.contain('foobar'); $('button.link').trigger('click'); expect(_.isEmpty($('button.link'))).to.be.true; expect(_.isEmpty($('.hidden-if-js-enabled'))).to.be.true; }); }); }); }());
Version data entries
62 entries across 62 versions & 1 rubygems