Merge "Set initial language and variant user preferences to user's preferred variant...
[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( 'Check', 1, function ( assert ) {
5 var attrs = {
6 foo: 'bar',
7 'class': 'lorem'
8 },
9 $el = $( '<div>' ).attr( attrs );
10
11 assert.deepEqual( $el.getAttrs(), attrs, 'getAttrs() return object should match the attributes set, no more, no less' );
12 } );
13 }( jQuery ) );