aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/droppable/droppable_events.js
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-01-30 09:57:56 -0500
committerAlexander Schmitz <arschmitz@gmail.com>2015-03-11 16:05:39 -0400
commit15a9ed77083523e6ba1beb92538ebf31f142f000 (patch)
tree974ca8cb9edc659bb5c02095b1037e63b0bb9559 /tests/unit/droppable/droppable_events.js
parent2d5857ca9e4bfc8b275dedf1dede6f3e0b732632 (diff)
downloadjquery-ui-15a9ed77083523e6ba1beb92538ebf31f142f000.tar.gz
jquery-ui-15a9ed77083523e6ba1beb92538ebf31f142f000.zip
Droppable: Use new has/lacksClasses assertions for all class checks
Diffstat (limited to 'tests/unit/droppable/droppable_events.js')
-rw-r--r--tests/unit/droppable/droppable_events.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/droppable/droppable_events.js b/tests/unit/droppable/droppable_events.js
index 0e1424245..1b205bc97 100644
--- a/tests/unit/droppable/droppable_events.js
+++ b/tests/unit/droppable/droppable_events.js
@@ -2,7 +2,7 @@
module( "droppable: events" );
-test( "droppable destruction/recreation on drop event", function() {
+test( "droppable destruction/recreation on drop event", function( assert ) {
expect( 1 );
var config = {
@@ -32,7 +32,7 @@ test( "droppable destruction/recreation on drop event", function() {
dy: dy
});
- ok( !droppable2.hasClass( "active" ), "subsequent droppable no longer active" );
+ assert.lacksClasses( droppable2, "active", "subsequent droppable no longer active" );
});
// todo: comment the following in when ready to actually test