Skip to content

Commit

Permalink
Tests: Remove the need to include the 'ui.' prefix in testJshint() no…
Browse files Browse the repository at this point in the history
…w that effects use 'ui.'.
  • Loading branch information
scottgonzalez committed Jun 15, 2012
1 parent e79c79d commit 8e541f1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/unit/core/core.js
Expand Up @@ -2,7 +2,7 @@

module( "core - jQuery extensions" );

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

test( "focus - original functionality", function() {
expect( 1 );
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/effects/effects_core.js
Expand Up @@ -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" ) {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/position/position_core.js
Expand Up @@ -16,7 +16,7 @@ module( "position", {
}
});

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

test( "my, at, of", function() {
expect( 4 );
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/testsuite.js
Expand Up @@ -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 ) {
Expand Down Expand Up @@ -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 );
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/widget/widget_core.js
Expand Up @@ -8,7 +8,7 @@ module( "widget factory", {
}
});

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

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

0 comments on commit 8e541f1

Please sign in to comment.