summaryrefslogtreecommitdiff
path: root/addons/web/doc/testing.rst
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-11-16 12:10:43 +0100
committerXavier Morel <xmo@openerp.com>2012-11-16 12:10:43 +0100
commitdca7adbc74ad558f05e8dda0805cb7262a4b8a9a (patch)
treecbe2f8afd3e360ba425913cf9e039ceeadb43c2e /addons/web/doc/testing.rst
parente1e4c48c181319b01e44c78d94a999e91c515ba0 (diff)
[FIX] doc errors
bzr revid: xmo@openerp.com-20121116111043-s0xuy1lya3am6tia
Diffstat (limited to 'addons/web/doc/testing.rst')
-rw-r--r--addons/web/doc/testing.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/doc/testing.rst b/addons/web/doc/testing.rst
index fea6f8e2616..600d379aa02 100644
--- a/addons/web/doc/testing.rst
+++ b/addons/web/doc/testing.rst
@@ -70,7 +70,7 @@ module. OpenERP tests live in a :js:func:`~openerp.testing.section`,
which is itself part of a module. The first argument to a section is
the name of the section, the second one is the section body.
-:js:func:`~openerp.testing.test`, provided by the
+:js:func:`test <openerp.testing.case>`, provided by the
:js:func:`~openerp.testing.section` to the callback, is used to
register a given test case which will be run whenever the test runner
actually does its job. OpenERP Web test case use standard `QUnit
@@ -196,7 +196,7 @@ strongly discouraged during tests. But DOM access is still needed to
e.g. fully initialize :js:class:`widgets <~openerp.web.Widget>` before
testing them.
-Thus, test cases get a DOM scratchpad as its second positional
+Thus, a test case gets a DOM scratchpad as its second positional
parameter, in a jQuery instance. That scratchpad is fully cleaned up
before each test, and as long as it doesn't do anything outside the
scratchpad your code can do whatever it wants::