[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:
parent
50c9f116a5
commit
6311e080ac
|
@ -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 = {};
|
||||
|
|
Loading…
Reference in New Issue