Sha256: db4d7cb5e9cdffd6929465aefd6025a2de760b5a42419fdecb52cd96015b3613
Contents?: true
Size: 767 Bytes
Versions: 62
Compression:
Stored size: 767 Bytes
Contents
(function () { 'use strict'; describe('WORKAREA.relevanceSort', function () { describe('init', function () { it('autoselects relevance on keyup', function () { this.fixtures = fixture.load('sort_form.html', true); var $input = $('input[name=q]', this.fixtures), $select = $('select[name=sort]', this.fixtures); WORKAREA.relevanceSort.init($(this.fixtures)); expect($select.val()).to.equal('name'); $input.trigger('keyup'); expect($select.val()).to.equal('name'); $input.val('foo').trigger('keyup'); expect($select.val()).to.equal('relevance'); }); }); }); }());
Version data entries
62 entries across 62 versions & 1 rubygems
Version | Path |
---|---|
workarea-admin-3.4.13 | test/javascripts/relevance_sort_spec.js |
workarea-admin-3.4.12 | test/javascripts/relevance_sort_spec.js |