From d65cd45c74068e70fd49024af0921697920c4e67 Mon Sep 17 00:00:00 2001 From: Amsul Date: Sun, 13 Apr 2014 05:34:54 -0400 Subject: [PATCH] test fixed --- tests/units/time.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/units/time.js b/tests/units/time.js index db69a1b1..1254beb7 100644 --- a/tests/units/time.js +++ b/tests/units/time.js @@ -1063,6 +1063,7 @@ test( 'Clear', function() { picker.set( 'select', [2,0] ) strictEqual( picker.get( 'value' ), picker.get( 'select', $.fn.pickatime.defaults.format ), 'Value updated' ) + picker.open() picker.$root.find( '.' + $.fn.pickatime.defaults.klass.buttonClear ).click() strictEqual( picker.get( 'value' ), '', 'Value cleared' ) })