From c3e065879056d85f0a769368c82b128a58c148e1 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Wed, 26 Jan 2011 13:46:49 -0500 Subject: declarative for aci A couple of the ACI definitions were incorrect, and the end result was that fields were not getting initialized. USing the declarative approach cleaned up the cause. Also fixed a few broken unit tests --- install/ui/test/details_tests.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install/ui/test/details_tests.js') diff --git a/install/ui/test/details_tests.js b/install/ui/test/details_tests.js index 38609072..fb33808c 100644 --- a/install/ui/test/details_tests.js +++ b/install/ui/test/details_tests.js @@ -22,11 +22,11 @@ module('details', { setup: function() { var obj_name = 'user'; - IPA.register_entity( + IPA.entity_factories.user= function(){ return IPA.entity({name:obj_name}); - }); - IPA.start_entities(); + }; + IPA.start_entities(); }, teardown: function() { } -- cgit