]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
just a minor fix on image unit test -#368
authorMinoo <minoo.ziaei@gmail.com>
Thu, 10 Mar 2011 01:25:18 +0000 (20:25 -0500)
committerMinoo <minoo.ziaei@gmail.com>
Thu, 10 Mar 2011 01:25:18 +0000 (20:25 -0500)
plugins/image/popcorn.image.unit.js

index 9281b03be4a34765b4e6b8cb07424110c93d5c6a..4e395ecb479f2fe4e8431932af44417872935ff6 100644 (file)
@@ -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 );
     }