Skip to content

Commit f2a50a1

Browse files
author
Gabriel Schulhof
committed
[popup unit tests] Change overlay theme test to expect "ui-overlay-a" and not "ui-body-a"
1 parent b976895 commit f2a50a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/popup/popup_core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
ok( $( "#test-popup" ).attr( "class" ).match( /( |^)ui-body-[a-z]( |$)/ ), "Open popup has a valid overlay theme" );
186186
ok( theOffset.left >= 15 && theOffset.top >= 30, "Open popup top left coord is at least (10, 30)" );
187187
$( "#test-popup" ).popup( "option", "overlayTheme", "a" );
188-
ok( $( "#test-popup" ).parent().prev().hasClass( "ui-body-a in" ), "Setting an overlay theme while the popup is open causes the theme to be applied and the screen to be faded in" );
188+
ok( $( "#test-popup" ).parent().prev().hasClass( "ui-overlay-a in" ), "Setting an overlay theme while the popup is open causes the theme to be applied and the screen to be faded in" );
189189
ok( $( "#test-popup" ).parent().hasClass( "ui-popup-active" ), "Open popup has the 'ui-popup-active' class" );
190190
$( "#test-popup" ).popup( "close" );
191191
setTimeout(function() {

0 commit comments

Comments
 (0)