Sha256: 9953724869dad3201925d861e30fc782323d882aecf8cf774c66a28c11843ab8
Contents?: true
Size: 705 Bytes
Versions: 62
Compression:
Stored size: 705 Bytes
Contents
(function () { 'use strict'; describe('WORKAREA.contentEditorFormCancel', function () { describe('init', function () { it('closes the edit form when clicked', function () { var $fixture = $(fixture.load('content_block_editor_form.html')); WORKAREA.contentEditorFormCancel.init($fixture); $('.content-block').addClass('content-block--inactive'); $('[data-content-editor-form-cancel]').trigger('click'); expect(_.isEmpty($('.content-block--active'))).to.equal(true); expect($('.content-editor__aside').css('display')).to.equal('block'); }); }); }); }());
Version data entries
62 entries across 62 versions & 1 rubygems
Version | Path |
---|---|
workarea-admin-3.4.13 | test/javascripts/content_editor_form_cancel_spec.js |
workarea-admin-3.4.12 | test/javascripts/content_editor_form_cancel_spec.js |