From 5d919c9556345a8c230dbd3c43b52a0b9f066773 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Tue, 4 Dec 2012 19:34:21 +0100 Subject: Change tests to use AMD loader Test were modified accordingly to AMD changes. https://fedorahosted.org/freeipa/ticket/112 --- install/ui/test/aci_tests.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install/ui/test/aci_tests.js') diff --git a/install/ui/test/aci_tests.js b/install/ui/test/aci_tests.js index 52fdc603..fa1e971b 100644 --- a/install/ui/test/aci_tests.js +++ b/install/ui/test/aci_tests.js @@ -18,6 +18,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +define(['freeipa/ipa', 'freeipa/jquery', 'freeipa/aci'], function(IPA, $) { + return function() { var target_container; var target_widget; @@ -286,5 +288,4 @@ test("Testing subtree target.", function() { same(get_visible_rows(target_widget), ['memberof', 'subtree', 'attrs_multi'], 'subtree row visible'); }); - - +};}); \ No newline at end of file -- cgit