aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/attributes.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/attributes.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/attributes.js')
-rw-r--r--test/unit/attributes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js
index 0bfe5f073..69be6abe0 100644
--- a/test/unit/attributes.js
+++ b/test/unit/attributes.js
@@ -1266,7 +1266,7 @@ var testToggleClass = function(valueObj) {
// Cleanup
e.removeClass("testD");
- QUnit.expectJqData( e[ 0 ], "__className__" );
+ QUnit.expectJqData( this, e[ 0 ], "__className__" );
};
test( "toggleClass(String|boolean|undefined[, boolean])", function() {