Fix test label

This commit is contained in:
guerler
2016-01-14 18:07:49 -05:00
parent 5d22fa7dd9
commit b015d77e7b
+2 -2
View File
@@ -41,9 +41,9 @@ define([ 'test-app', 'mvc/ui/ui-misc'
var input = new Ui.Input( { area: true } );
$( 'body' ).prepend( input.$el );
ok( input.tagName === 'textarea', 'Created textarea.' );
ok( input.value() === undefined, 'Input empty.' );
ok( input.value() === undefined, 'Unavailable value.' );
input.model.set( 'value', '_value' );
ok( input.value() === '_value', 'Input empty.' );
ok( input.value() === '_value', 'Correct new value.' );
ok( !input.$el.hasClass( '_cls' ), 'Has no custom class.' );
input.model.set( 'cls', '_cls' );
ok( input.$el.hasClass( '_cls' ), 'Has custom class.' );