diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-12-04 19:34:21 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-01-18 15:10:37 +0100 |
commit | 5d919c9556345a8c230dbd3c43b52a0b9f066773 (patch) | |
tree | 72eb825b9ee8c24429deb60f5b9e3701779ff089 /install/ui/test/ipa_tests.js | |
parent | c71937fc0c2006c032948c564246822cb7344aa9 (diff) | |
download | freeipa.git-5d919c9556345a8c230dbd3c43b52a0b9f066773.tar.gz freeipa.git-5d919c9556345a8c230dbd3c43b52a0b9f066773.tar.xz freeipa.git-5d919c9556345a8c230dbd3c43b52a0b9f066773.zip |
Change tests to use AMD loader
Test were modified accordingly to AMD changes.
https://fedorahosted.org/freeipa/ticket/112
Diffstat (limited to 'install/ui/test/ipa_tests.js')
-rw-r--r-- | install/ui/test/ipa_tests.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/install/ui/test/ipa_tests.js b/install/ui/test/ipa_tests.js index 478196ca..258abe7d 100644 --- a/install/ui/test/ipa_tests.js +++ b/install/ui/test/ipa_tests.js @@ -18,6 +18,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +define(['freeipa/ipa', 'freeipa/jquery', 'freeipa/dialog', 'freeipa/widget', + 'freeipa/details'], function(IPA, $) { + return function() { + module('ipa'); test("Testing ipa_init().", function() { @@ -304,3 +308,5 @@ test("Testing observer.", function() { obj.event.detach(func); obj.event.notify([param1_value, param2_value], obj); }); + +};});
\ No newline at end of file |