Merge "user: Allow "CAS update failed" exceptions to be normalised"
[lhc/web/wiklou.git] / tests / qunit / suites / resources / jquery / jquery.getAttrs.test.js
1 ( function () {
2 QUnit.module( 'jquery.getAttrs', QUnit.newMwEnvironment() );
3
4 QUnit.test( 'getAttrs()', function ( assert ) {
5 var attrs = {
6 foo: 'bar',
7 class: 'lorem',
8 'data-foo': 'data value'
9 },
10 $el = $( '<div>' ).attr( attrs );
11
12 assert.propEqual( $el.getAttrs(), attrs, 'keys and values match' );
13 } );
14 }() );