Skip to content

Commit

Permalink
update unit test with new expectation to include body fragment direct…
Browse files Browse the repository at this point in the history
… children
  • Loading branch information
drock committed Mar 28, 2013
1 parent a5b319f commit 4a20856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/pjax.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand Down

0 comments on commit 4a20856

Please sign in to comment.