Sha256: 6b2c47ff9c7240417c43b7bef32ba9e1cd86319071fac62189f742b12f4c37f9
Contents?: true
Size: 768 Bytes
Versions: 62
Compression:
Stored size: 768 Bytes
Contents
//= require workarea/core/templates/reveal_password_button //= require workarea/core/modules/reveal_password (function () { 'use strict'; describe('WORKAREA.revealPassword', function () { describe('init', function () { it('displays a password, on click', function () { this.fixtures = fixture.load('reveal_password.html'); WORKAREA.revealPassword.init($(this.fixtures)); $('[data-reveal-password]').not('.hidden').trigger('click'); expect($('input').attr('type')).to.equal('text'); $('[data-reveal-password]').not('.hidden').trigger('click'); expect($('input').attr('type')).to.equal('password'); }); }); }); }());
Version data entries
62 entries across 62 versions & 1 rubygems