diff --git a/tests/unit/dialog/dialog_events.js b/tests/unit/dialog/dialog_events.js index ee3c0fce..6a6711c9 100644 --- a/tests/unit/dialog/dialog_events.js +++ b/tests/unit/dialog/dialog_events.js @@ -17,12 +17,12 @@ var fooDialog; ok(/&ui-state=dialog/.test(location.hash), "ui-state=dialog =~ location.hash", "dialog open"); - fooDialog = $('#foo-dialog'); + fooDialog = $("#foo-dialog"); // Assert dialog theme inheritance (issue 1375): - ok(fooDialog.hasClass('ui-body-b'), 'Expected explicit theme ui-body-b'); - ok(fooDialog.find( ":jqmData(role=header)" ).hasClass('ui-bar-a'), 'Expected header to inherit from $.mobile.page.prototype.options.headerTheme'); - ok(fooDialog.find( ":jqmData(role=content)" ).hasClass('ui-body-d'), 'Expect content to inherit from $.mobile.page.prototype.options.contentTheme'); - ok(fooDialog.find( ":jqmData(role=footer)" ).hasClass('ui-bar-a'), 'Expected footer to inherit from $.mobile.page.prototype.options.footerTheme'); + ok(fooDialog.hasClass("ui-body-b"), "Expected explicit theme ui-body-b"); + ok(fooDialog.find( ":jqmData(role=header)" ).hasClass("ui-bar-a"), "Expected header to inherit from $.mobile.page.prototype.options.headerTheme"); + ok(fooDialog.find( ":jqmData(role=content)" ).hasClass("ui-body-d"), "Expect content to inherit from $.mobile.page.prototype.options.contentTheme"); + ok(fooDialog.find( ":jqmData(role=footer)" ).hasClass("ui-bar-a"), "Expected footer to inherit from $.mobile.page.prototype.options.footerTheme"); // close the dialog $(".ui-dialog").dialog("close");