From 4a2085686fd1fe9abc216cfc3e2902768c7096b5 Mon Sep 17 00:00:00 2001 From: Derek Gallo Date: Thu, 28 Mar 2013 17:46:35 -0300 Subject: [PATCH] update unit test with new expectation to include body fragment direct children --- test/unit/pjax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() })