[FIX]testing.js: replace testing.case by testing['case'] for compatibility (IOS < 5, IE8)

bzr revid: dle@openerp.com-20130322101606-u8v8lyh59r3qnnk1
This commit is contained in:
dle@openerp.com 2013-03-22 11:16:06 +01:00
parent 50c9f116a5
commit 6311e080ac
1 changed files with 2 additions and 2 deletions

View File

@ -176,9 +176,9 @@ openerp.testing = {};
});
QUnit.module(testing.current_module + '.' + name, {_oe: options});
body(testing.case);
body(testing['case']);
};
testing.case = function (name, options, callback) {
testing['case'] = function (name, options, callback) {
if (_.isFunction(options)) {
callback = options;
options = {};