From f104b99eeca6574fd074e0682d44ff7fc1a11e67 Mon Sep 17 00:00:00 2001 From: Minoo Date: Wed, 9 Mar 2011 20:25:18 -0500 Subject: [PATCH] just a minor fix on image unit test -#368 --- plugins/image/popcorn.image.unit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/image/popcorn.image.unit.js b/plugins/image/popcorn.image.unit.js index 9281b03..4e395ec 100644 --- a/plugins/image/popcorn.image.unit.js +++ b/plugins/image/popcorn.image.unit.js @@ -36,7 +36,7 @@ test("Popcorn Image Plugin", function () { if( popped.currentTime() > 1 && popped.currentTime() < 3 ) { ok( /display: inline;/.test( imagediv.innerHTML ), "Div contents are displayed" ); plus(); - equals (imagediv.children[0].children[0].style.backgroundImage.indexOf ( 'https' ), "4", "An image exists" ); + equals (imagediv.children[0].children[0].style.backgroundImage.indexOf ( 'url' ), "0", "An image exists" ); plus(); clearInterval( interval ); } -- 2.43.0