aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-06-15 13:42:00 -0400
committerScott González <scott.gonzalez@gmail.com>2012-06-15 13:42:00 -0400
commit8e541f1bf611401b824c523064f6288d7c32a4ae (patch)
tree7d453fad2ab86870796962d4c16024c33aa0fb7b /tests/unit
parente79c79df4e658e22b446701d2b32023e4615d32a (diff)
downloadjquery-ui-8e541f1bf611401b824c523064f6288d7c32a4ae.tar.gz
jquery-ui-8e541f1bf611401b824c523064f6288d7c32a4ae.zip
Tests: Remove the need to include the 'ui.' prefix in testJshint() now that effects use 'ui.'.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/core/core.js2
-rw-r--r--tests/unit/effects/effects_core.js2
-rw-r--r--tests/unit/position/position_core.js2
-rw-r--r--tests/unit/testsuite.js4
-rw-r--r--tests/unit/widget/widget_core.js2
5 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/core/core.js b/tests/unit/core/core.js
index 1026c5b0b..db9d82819 100644
--- a/tests/unit/core/core.js
+++ b/tests/unit/core/core.js
@@ -2,7 +2,7 @@
module( "core - jQuery extensions" );
-TestHelpers.testJshint( "ui.core" );
+TestHelpers.testJshint( "core" );
test( "focus - original functionality", function() {
expect( 1 );
diff --git a/tests/unit/effects/effects_core.js b/tests/unit/effects/effects_core.js
index 557a57cae..60706b87b 100644
--- a/tests/unit/effects/effects_core.js
+++ b/tests/unit/effects/effects_core.js
@@ -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" ) {
diff --git a/tests/unit/position/position_core.js b/tests/unit/position/position_core.js
index 4a2240311..3b749a218 100644
--- a/tests/unit/position/position_core.js
+++ b/tests/unit/position/position_core.js
@@ -16,7 +16,7 @@ module( "position", {
}
});
-TestHelpers.testJshint( "ui.position" );
+TestHelpers.testJshint( "position" );
test( "my, at, of", function() {
expect( 4 );
diff --git a/tests/unit/testsuite.js b/tests/unit/testsuite.js
index 59bda7df8..e4f549de6 100644
--- a/tests/unit/testsuite.js
+++ b/tests/unit/testsuite.js
@@ -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 );
diff --git a/tests/unit/widget/widget_core.js b/tests/unit/widget/widget_core.js
index abfb0d9de..07e847926 100644
--- a/tests/unit/widget/widget_core.js
+++ b/tests/unit/widget/widget_core.js
@@ -8,7 +8,7 @@ module( "widget factory", {
}
});
-TestHelpers.testJshint( "ui.widget" );
+TestHelpers.testJshint( "widget" );
test( "widget creation", function() {
var myPrototype = {