Change tests to use AMD loader

Test were modified accordingly to AMD changes.

https://fedorahosted.org/freeipa/ticket/112
This commit is contained in:
Petr Vobornik
2012-12-04 19:34:21 +01:00
parent c71937fc0c
commit 5d919c9556
25 changed files with 243 additions and 149 deletions

View File

@@ -18,6 +18,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
define(['freeipa/ipa', 'freeipa/jquery', 'freeipa/association', 'freeipa/entity'], function(IPA, $) {
return function() {
module('association');
@@ -135,3 +139,5 @@ test("Testing bulk_associator().", function() {
IPA.command = orig_ipa_command;
});
};});