Switched from using QUnit's isObj/isSet to the more robust same method.
This commit is contained in:
parent
f8b7d391e6
commit
4bda398e6a
6 changed files with 95 additions and 95 deletions
|
@ -50,7 +50,7 @@ test(".data()", function() {
|
|||
|
||||
var div = jQuery("#foo");
|
||||
div.data("test", "success");
|
||||
isObj( div.data(), {test: "success"}, "data() get the entire data object" )
|
||||
same( div.data(), {test: "success"}, "data() get the entire data object" )
|
||||
})
|
||||
|
||||
test(".data(String) and .data(String, Object)", function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue