Enhance tests

This commit is contained in:
Nicolas Le Goff
2013-06-11 15:51:27 +02:00
parent 6b25830afc
commit 12c7e7e3bb
3 changed files with 20 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ require([
"i18n",
"apps/login/home/common",
"apps/login/home/views/form"
], function(Common, RegisterForm) {
], function($, i18n, Common, RegisterForm) {
Common.initialize();
var fieldsConfiguration = [];
@@ -26,7 +26,7 @@ require([
}
})
]).done(function(){
$.i18n.init({
i18n.init({
resGetPath: Common.languagePath
}, function() {
var rules = [{