Skip to content
Permalink
Browse files

Tests: Remove the need to include the 'ui.' prefix in testJshint() no…

…w that effects use 'ui.'.
  • Loading branch information
scottgonzalez committed Jun 15, 2012
1 parent e79c79d commit 8e541f1bf611401b824c523064f6288d7c32a4ae
@@ -2,7 +2,7 @@

module( "core - jQuery extensions" );

TestHelpers.testJshint( "ui.core" );
TestHelpers.testJshint( "core" );

test( "focus - original functionality", function() {
expect( 1 );
@@ -174,7 +174,7 @@ $.each( $.effects.effect, function( effect ) {

// puff and size are defined inside scale
if ( effect !== "puff" && effect !== "size" ) {
TestHelpers.testJshint( "ui.effect-" + effect );
TestHelpers.testJshint( "effect-" + effect );
}

if ( effect === "transfer" ) {
@@ -16,7 +16,7 @@ module( "position", {
}
});

TestHelpers.testJshint( "ui.position" );
TestHelpers.testJshint( "position" );

test( "my, at, of", function() {
expect( 4 );
@@ -47,7 +47,7 @@ TestHelpers.testJshint = function( module ) {
dataType: "json"
}),
$.ajax({
url: "../../../ui/jquery." + module + ".js",
url: "../../../ui/jquery.ui." + module + ".js",
dataType: "text"
})
).done(function( hintArgs, srcArgs ) {
@@ -126,7 +126,7 @@ function testBasicUsage( widget ) {
TestHelpers.commonWidgetTests = function( widget, settings ) {
module( widget + ": common widget" );

TestHelpers.testJshint( "ui." + widget );
TestHelpers.testJshint( widget );
testWidgetDefaults( widget, settings.defaults );
testWidgetOverrides( widget );
testBasicUsage( widget );
@@ -8,7 +8,7 @@ module( "widget factory", {
}
});

TestHelpers.testJshint( "ui.widget" );
TestHelpers.testJshint( "widget" );

test( "widget creation", function() {
var myPrototype = {

0 comments on commit 8e541f1

Please sign in to comment.
You can’t perform that action at this time.