From: Minoo Date: Thu, 10 Mar 2011 01:25:18 +0000 (-0500) Subject: just a minor fix on image unit test -#368 X-Git-Tag: v0.5~15^2~10 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=f104b99eeca6574fd074e0682d44ff7fc1a11e67;p=popcorn-js.git just a minor fix on image unit test -#368 --- 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 ); }