Skip to content

Commit

Permalink
Tests: send empty obj to qunit/form_tests
Browse files Browse the repository at this point in the history
`null` caused a script error in require.
  • Loading branch information
carlfeberhard committed May 9, 2016
1 parent af15f55 commit 7afb761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/qunit/tests/form_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ define([ 'test-app', 'mvc/form/form-input', 'mvc/ui/ui-misc',
} );

test( 'input', function() {
var input = new InputElement( null, {
var input = new InputElement( {}, {
field: new Ui.Input({})
});
$( 'body' ).prepend( input.$el );
Expand Down

0 comments on commit 7afb761

Please sign in to comment.