docs/Mocha/Hooks.html in mocha-1.9.0 vs docs/Mocha/Hooks.html in mocha-1.10.0.alpha
- old
+ new
@@ -4,11 +4,11 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Module: Mocha::Hooks
- — Mocha 1.9.0
+ — Mocha 1.10.0.alpha
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
@@ -91,27 +91,17 @@
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>Integration hooks for test library authors.</p>
-<p>The methods in this module should be called from test libraries wishing to
-integrate with Mocha.</p>
+<p>The methods in this module should be called from test libraries wishing to integrate with Mocha.</p>
-<p>This module is provided as part of the <code>Mocha::API</code> module and
-is therefore part of the public API, but should only be used by authors of
-test libraries and not by typical “users” of Mocha.</p>
+<p>This module is provided as part of the <code>Mocha::API</code> module and is therefore part of the public API, but should only be used by authors of test libraries and not by typical “users” of Mocha.</p>
-<p>Integration with Test::Unit and MiniTest are provided as part of Mocha,
-because they are (or were once) part of the Ruby standard library.
-Integration with other test libraries is not provided as
-<strong>part</strong> of Mocha, but is supported by means of the methods in
-this module.</p>
+<p>Integration with Test::Unit and MiniTest are provided as part of Mocha, because they are (or were once) part of the Ruby standard library. Integration with other test libraries is not provided as <strong>part</strong> of Mocha, but is supported by means of the methods in this module.</p>
-<p>See the code in the <code>Adapter</code> modules for examples of how to use
-the methods in this module. <code>Mocha::ExpectationErrorFactory</code> may
-be used if you want <code>Mocha</code> to raise a different type of
-exception.</p>
+<p>See the code in the <code>Adapter</code> modules for examples of how to use the methods in this module. <code>Mocha::ExpectationErrorFactory</code> may be used if you want <code>Mocha</code> to raise a different type of exception.</p>
</div>
</div>
<div class="tags">
@@ -209,12 +199,11 @@
<span class="summary_desc"><div class='inline'>
-<p>Verifies that all mock expectations have been met (only for use by authors
-of test libraries).</p>
+<p>Verifies that all mock expectations have been met (only for use by authors of test libraries).</p>
</div></span>
</li>
@@ -239,12 +228,11 @@
</h3><div class="docstring">
<div class="discussion">
<p>Prepares Mocha before a test (only for use by authors of test libraries).</p>
-<p>This method should be called before each individual test starts (including
-before any “setup” code).</p>
+<p>This method should be called before each individual test starts (including before any “setup” code).</p>
</div>
</div>
<div class="tags">
@@ -283,12 +271,11 @@
</h3><div class="docstring">
<div class="discussion">
<p>Resets Mocha after a test (only for use by authors of test libraries).</p>
-<p>This method should be called after each individual test has finished
-(including after any “teardown” code).</p>
+<p>This method should be called after each individual test has finished (including after any “teardown” code).</p>
</div>
</div>
<div class="tags">
@@ -325,17 +312,15 @@
</h3><div class="docstring">
<div class="discussion">
-<p>Verifies that all mock expectations have been met (only for use by authors
-of test libraries).</p>
+<p>Verifies that all mock expectations have been met (only for use by authors of test libraries).</p>
<p>This is equivalent to a series of “assertions”.</p>
-<p>This method should be called at the end of each individual test, before it
-has been determined whether or not the test has passed.</p>
+<p>This method should be called at the end of each individual test, before it has been determined whether or not the test has passed.</p>
</div>
</div>
<div class="tags">
@@ -373,12 +358,12 @@
gtag('config', 'UA-625523-7');
</script>
</div>
<div id="footer">
- Generated on Mon Jun 17 18:38:43 2019 by
+ Generated on Sun Nov 24 15:26:49 2019 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
- 0.9.19 (ruby-2.5.3).
+ 0.9.20 (ruby-2.6.5).
</div>
</div>
</body>
</html>
\ No newline at end of file