diff --git a/test/fixtures/helper.js b/test/fixtures/helper.js index 13703e4..9143bad 100644 --- a/test/fixtures/helper.js +++ b/test/fixtures/helper.js @@ -23,7 +23,7 @@ function eltLoaded(id, lazyAttr) { return function(done) { var elt = document.getElementById(id); setTimeout(function() { - assert(elt.getAttribute('data-lzled') === true); + assert(elt.getAttribute('data-lzled') === 'true'); done(); }, 40); };