aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-23 10:43:01 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-23 10:43:01 -0400
commitb042f8ebd68e21155edb090917051353fe7a0162 (patch)
tree1d6dc4dad3b5dabb1ad971bca72d8f4bc3b4c99a /tests/unit/dialog
parent7a5a77da50e5e2401043410434c49971ce504653 (diff)
downloadjquery-ui-b042f8ebd68e21155edb090917051353fe7a0162.tar.gz
jquery-ui-b042f8ebd68e21155edb090917051353fe7a0162.zip
Tests: Moved loadResources to TestHelpers.
Diffstat (limited to 'tests/unit/dialog')
-rw-r--r--tests/unit/dialog/dialog.html12
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/unit/dialog/dialog.html b/tests/unit/dialog/dialog.html
index 1f940400c..d804807f2 100644
--- a/tests/unit/dialog/dialog.html
+++ b/tests/unit/dialog/dialog.html
@@ -6,9 +6,12 @@
<script src="../../jquery.js"></script>
<script src="../../../external/jquery.bgiframe-2.1.2.js"></script>
- <script src="../../resource_loader.js"></script>
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
<script>
- loadResources({
+ TestHelpers.loadResources({
css: [ "ui.core", "ui.dialog" ],
js: [
"ui/jquery.ui.core.js",
@@ -22,11 +25,6 @@
});
</script>
- <link rel="stylesheet" href="../../../external/qunit.css">
- <script src="../../../external/qunit.js"></script>
- <script src="../../jquery.simulate.js"></script>
- <script src="../testsuite.js"></script>
-
<script src="dialog_common.js"></script>
<script src="dialog_core.js"></script>
<script src="dialog_events.js"></script>