aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/data.js
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2014-12-05 12:28:40 -0500
committerRichard Gibson <richard.gibson@gmail.com>2014-12-05 12:34:17 -0500
commit26276a307ce2f554b63a05ed8451155f01711c29 (patch)
tree81eb4c92a55f4c9a17d9925e84dccf9c4929741f /test/unit/data.js
parent6748ba349650353c7bed6eec201a3192f6b2cae1 (diff)
downloadjquery-26276a307ce2f554b63a05ed8451155f01711c29.tar.gz
jquery-26276a307ce2f554b63a05ed8451155f01711c29.zip
Tests: Minor updates for QUnit 1.16 compatibility
More to come later. (cherry picked from commit f6f8848fbe477fa93fd27ac7f10885dd6e97f633)
Diffstat (limited to 'test/unit/data.js')
-rw-r--r--test/unit/data.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/data.js b/test/unit/data.js
index 46a13adb9..d6d06e28b 100644
--- a/test/unit/data.js
+++ b/test/unit/data.js
@@ -134,7 +134,7 @@ test("jQuery.data(div)", 25, function() {
// We stored one key in the private data
// assert that nothing else was put in there, and that that
// one stayed there.
- QUnit.expectJqData( div, "foo" );
+ QUnit.expectJqData( this, div, "foo" );
});
test("jQuery.data({})", 25, function() {
@@ -152,7 +152,7 @@ test("jQuery.data(window)", 25, function() {
test("jQuery.data(document)", 25, function() {
dataTests( document );
- QUnit.expectJqData( document, "foo" );
+ QUnit.expectJqData( this, document, "foo" );
});
test("jQuery.data(<embed>)", 25, function() {