aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button/button.html
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/button/button.html
parent7a5a77da50e5e2401043410434c49971ce504653 (diff)
downloadjquery-ui-b042f8ebd68e21155edb090917051353fe7a0162.tar.gz
jquery-ui-b042f8ebd68e21155edb090917051353fe7a0162.zip
Tests: Moved loadResources to TestHelpers.
Diffstat (limited to 'tests/unit/button/button.html')
-rw-r--r--tests/unit/button/button.html12
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/unit/button/button.html b/tests/unit/button/button.html
index 5f27740c4..b79ca1dc6 100644
--- a/tests/unit/button/button.html
+++ b/tests/unit/button/button.html
@@ -5,9 +5,12 @@
<title>jQuery UI Button Test Suite</title>
<script src="../../jquery.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.button" ],
js: [
"ui/jquery.ui.core.js",
@@ -17,11 +20,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="button_common.js"></script>
<script src="button_core.js"></script>
<script src="button_events.js"></script>