diff --git a/test/unit/pjax.js b/test/unit/pjax.js index 51a1c016..e0e66965 100644 --- a/test/unit/pjax.js +++ b/test/unit/pjax.js @@ -314,7 +314,7 @@ if ($.support.pjax) { frame.$('body').on('pjax:success', function(event, data) { equal(typeof data, 'string') - equal(frame.$("body > p").html().trim(), "Hello!") + equal(frame.$("body > #main > p").html().trim(), "Hello!") equal(frame.document.title, "Hello") start() })