diff options
author | Brian J. Dowling <bjd-dev@simplicity.net> | 2014-01-16 21:25:17 +0000 |
---|---|---|
committer | Brian J. Dowling <bjd-dev@simplicity.net> | 2014-01-16 21:25:28 +0000 |
commit | f4423f508ec113b6c58ceabb7d12cdac630e36cd (patch) | |
tree | 0608f3f6825117c56dc96ea18fafef0525818ad7 /Gruntfile.js | |
parent | 687089736443ef474e5c9700784e5e1a23f2a552 (diff) | |
download | jquery-ui-f4423f508ec113b6c58ceabb7d12cdac630e36cd.tar.gz jquery-ui-f4423f508ec113b6c58ceabb7d12cdac630e36cd.zip |
Tests: Fix draggable_options expected test count to be dynamic
The test count was previously incremented to 8 when normally 6 tests
are run. After figuring out the dynamic test code, I just made the
expect depend on the same array length
Also re-enabled the test in the Gruntfile since it now passes.
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 31b21d910..60d02efd0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -182,7 +182,7 @@ grunt.initConfig({ files: expandFiles( "tests/unit/**/*.html" ).filter(function( file ) { // disabling everything that doesn't (quite) work with PhantomJS for now // TODO except for all|index|test, try to include more as we go - return !( /(all|index|test|dialog|tooltip|draggable)\.html$/ ).test( file ); + return !( /(all|index|test|dialog|tooltip)\.html$/ ).test( file ); }) }, jshint: { |