diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2008-10-13 21:32:42 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2008-10-13 21:32:42 +0000 |
commit | b6cb342c6595e086305a0f8efa93c48280f4806e (patch) | |
tree | 710a0d113e3bcbdad452ef2ffc8ea9c978aa289a /tests/tabs.js | |
parent | 59109b7894a3e6d203c7c711984860def740cff3 (diff) | |
download | jquery-ui-b6cb342c6595e086305a0f8efa93c48280f4806e.tar.gz jquery-ui-b6cb342c6595e086305a0f8efa93c48280f4806e.zip |
updating tests to latest QUnit, using same, fixing a few assertions that relied on type casting (mostly null/undefined)
Diffstat (limited to 'tests/tabs.js')
-rw-r--r-- | tests/tabs.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/tabs.js b/tests/tabs.js index e27bd7def..1e43c5581 100644 --- a/tests/tabs.js +++ b/tests/tabs.js @@ -61,12 +61,7 @@ module('tabs'); for (var optionName in expected) { var actual = el.data(optionName + '.tabs'), expects = expected[optionName]; - - if (optionName == 'disabled') - compare(actual, expects, optionName); - else - equals(actual, expects, optionName); - + same(actual, expects, optionName); } }); |