diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-04-17 15:48:48 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:27 +0200 |
commit | bee39848d302a968fccecba7619ad1f9b71554bd (patch) | |
tree | 4c8d6064e9c913e05d4232e5f92c190324939f3b /install/ui/test/aci_tests.js | |
parent | 33b584f0a0d8b7da10490bdae3df4421b8a46660 (diff) | |
download | freeipa-bee39848d302a968fccecba7619ad1f9b71554bd.tar.gz freeipa-bee39848d302a968fccecba7619ad1f9b71554bd.tar.xz freeipa-bee39848d302a968fccecba7619ad1f9b71554bd.zip |
Make facet and entity policies declarative
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/test/aci_tests.js')
-rw-r--r-- | install/ui/test/aci_tests.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/install/ui/test/aci_tests.js b/install/ui/test/aci_tests.js index 5c8b37e0f..a98c45a1d 100644 --- a/install/ui/test/aci_tests.js +++ b/install/ui/test/aci_tests.js @@ -115,7 +115,10 @@ module('aci', { } ], policies: [ - IPA.permission_target_policy('target') + { + $factory: IPA.permission_target_policy, + widget_name: 'target' + } ] }); entity.add_facet('details', target_facet); |