mocha 1.10.1 → 1.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/RELEASE.md +6 -0
- data/docs/Mocha.html +2 -2
- data/docs/Mocha/API.html +166 -32
- data/docs/Mocha/ClassMethods.html +2 -2
- data/docs/Mocha/Configuration.html +197 -55
- data/docs/Mocha/Expectation.html +2 -2
- data/docs/Mocha/ExpectationError.html +2 -2
- data/docs/Mocha/ExpectationErrorFactory.html +2 -2
- data/docs/Mocha/Hooks.html +2 -2
- data/docs/Mocha/Integration.html +2 -2
- data/docs/Mocha/Integration/MiniTest.html +2 -2
- data/docs/Mocha/Integration/MiniTest/Adapter.html +2 -2
- data/docs/Mocha/Integration/TestUnit.html +2 -2
- data/docs/Mocha/Integration/TestUnit/Adapter.html +2 -2
- data/docs/Mocha/Mock.html +5 -5
- data/docs/Mocha/ObjectMethods.html +2 -2
- data/docs/Mocha/ParameterMatchers.html +2 -2
- data/docs/Mocha/ParameterMatchers/AllOf.html +2 -2
- data/docs/Mocha/ParameterMatchers/AnyOf.html +2 -2
- data/docs/Mocha/ParameterMatchers/AnyParameters.html +2 -2
- data/docs/Mocha/ParameterMatchers/Anything.html +2 -2
- data/docs/Mocha/ParameterMatchers/Base.html +2 -2
- data/docs/Mocha/ParameterMatchers/Equals.html +2 -2
- data/docs/Mocha/ParameterMatchers/EquivalentUri.html +2 -2
- data/docs/Mocha/ParameterMatchers/HasEntries.html +2 -2
- data/docs/Mocha/ParameterMatchers/HasEntry.html +2 -2
- data/docs/Mocha/ParameterMatchers/HasKey.html +2 -2
- data/docs/Mocha/ParameterMatchers/HasValue.html +2 -2
- data/docs/Mocha/ParameterMatchers/Includes.html +2 -2
- data/docs/Mocha/ParameterMatchers/InstanceOf.html +2 -2
- data/docs/Mocha/ParameterMatchers/IsA.html +2 -2
- data/docs/Mocha/ParameterMatchers/KindOf.html +2 -2
- data/docs/Mocha/ParameterMatchers/Not.html +2 -2
- data/docs/Mocha/ParameterMatchers/Optionally.html +2 -2
- data/docs/Mocha/ParameterMatchers/RegexpMatches.html +2 -2
- data/docs/Mocha/ParameterMatchers/RespondsWith.html +2 -2
- data/docs/Mocha/ParameterMatchers/YamlEquivalent.html +2 -2
- data/docs/Mocha/Sequence.html +2 -2
- data/docs/Mocha/StateMachine.html +2 -2
- data/docs/Mocha/StateMachine/State.html +2 -2
- data/docs/Mocha/StateMachine/StatePredicate.html +2 -2
- data/docs/Mocha/StubbingError.html +2 -2
- data/docs/_index.html +3 -3
- data/docs/file.COPYING.html +2 -2
- data/docs/file.MIT-LICENSE.html +2 -2
- data/docs/file.README.html +2 -2
- data/docs/file.RELEASE.html +13 -2
- data/docs/frames.html +1 -1
- data/docs/index.html +2 -2
- data/docs/method_list.html +40 -32
- data/docs/top-level-namespace.html +2 -2
- data/lib/mocha/api.rb +78 -18
- data/lib/mocha/configuration.rb +57 -1
- data/lib/mocha/deprecation.rb +2 -1
- data/lib/mocha/expectation.rb +1 -1
- data/lib/mocha/invocation.rb +14 -2
- data/lib/mocha/mock.rb +3 -3
- data/lib/mocha/version.rb +1 -1
- data/test/acceptance/mock_built_with_first_argument_type_being_string_test.rb +99 -0
- data/test/unit/expectation_test.rb +16 -1
- metadata +3 -2
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::InstanceOf
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -143,7 +143,7 @@
|
|
143
143
|
</div>
|
144
144
|
|
145
145
|
<div id="footer">
|
146
|
-
Generated on
|
146
|
+
Generated on Thu Dec 12 10:57:48 2019 by
|
147
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
148
148
|
0.9.20 (ruby-2.6.5).
|
149
149
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::IsA
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -143,7 +143,7 @@
|
|
143
143
|
</div>
|
144
144
|
|
145
145
|
<div id="footer">
|
146
|
-
Generated on
|
146
|
+
Generated on Thu Dec 12 10:57:48 2019 by
|
147
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
148
148
|
0.9.20 (ruby-2.6.5).
|
149
149
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::KindOf
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -143,7 +143,7 @@
|
|
143
143
|
</div>
|
144
144
|
|
145
145
|
<div id="footer">
|
146
|
-
Generated on
|
146
|
+
Generated on Thu Dec 12 10:57:48 2019 by
|
147
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
148
148
|
0.9.20 (ruby-2.6.5).
|
149
149
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::Not
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -143,7 +143,7 @@
|
|
143
143
|
</div>
|
144
144
|
|
145
145
|
<div id="footer">
|
146
|
-
Generated on
|
146
|
+
Generated on Thu Dec 12 10:57:48 2019 by
|
147
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
148
148
|
0.9.20 (ruby-2.6.5).
|
149
149
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::Optionally
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -143,7 +143,7 @@
|
|
143
143
|
</div>
|
144
144
|
|
145
145
|
<div id="footer">
|
146
|
-
Generated on
|
146
|
+
Generated on Thu Dec 12 10:57:48 2019 by
|
147
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
148
148
|
0.9.20 (ruby-2.6.5).
|
149
149
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::RegexpMatches
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -143,7 +143,7 @@
|
|
143
143
|
</div>
|
144
144
|
|
145
145
|
<div id="footer">
|
146
|
-
Generated on
|
146
|
+
Generated on Thu Dec 12 10:57:48 2019 by
|
147
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
148
148
|
0.9.20 (ruby-2.6.5).
|
149
149
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::RespondsWith
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -143,7 +143,7 @@
|
|
143
143
|
</div>
|
144
144
|
|
145
145
|
<div id="footer">
|
146
|
-
Generated on
|
146
|
+
Generated on Thu Dec 12 10:57:48 2019 by
|
147
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
148
148
|
0.9.20 (ruby-2.6.5).
|
149
149
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::YamlEquivalent
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -143,7 +143,7 @@
|
|
143
143
|
</div>
|
144
144
|
|
145
145
|
<div id="footer">
|
146
|
-
Generated on
|
146
|
+
Generated on Thu Dec 12 10:57:48 2019 by
|
147
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
148
148
|
0.9.20 (ruby-2.6.5).
|
149
149
|
</div>
|
data/docs/Mocha/Sequence.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::Sequence
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -139,7 +139,7 @@
|
|
139
139
|
</div>
|
140
140
|
|
141
141
|
<div id="footer">
|
142
|
-
Generated on
|
142
|
+
Generated on Thu Dec 12 10:57:48 2019 by
|
143
143
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
144
144
|
0.9.20 (ruby-2.6.5).
|
145
145
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::StateMachine
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -517,7 +517,7 @@
|
|
517
517
|
</div>
|
518
518
|
|
519
519
|
<div id="footer">
|
520
|
-
Generated on
|
520
|
+
Generated on Thu Dec 12 10:57:48 2019 by
|
521
521
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
522
522
|
0.9.20 (ruby-2.6.5).
|
523
523
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::StateMachine::State
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -130,7 +130,7 @@
|
|
130
130
|
</div>
|
131
131
|
|
132
132
|
<div id="footer">
|
133
|
-
Generated on
|
133
|
+
Generated on Thu Dec 12 10:57:48 2019 by
|
134
134
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
135
135
|
0.9.20 (ruby-2.6.5).
|
136
136
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::StateMachine::StatePredicate
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -130,7 +130,7 @@
|
|
130
130
|
</div>
|
131
131
|
|
132
132
|
<div id="footer">
|
133
|
-
Generated on
|
133
|
+
Generated on Thu Dec 12 10:57:48 2019 by
|
134
134
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
135
135
|
0.9.20 (ruby-2.6.5).
|
136
136
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::StubbingError
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -140,7 +140,7 @@
|
|
140
140
|
</div>
|
141
141
|
|
142
142
|
<div id="footer">
|
143
|
-
Generated on
|
143
|
+
Generated on Thu Dec 12 10:57:48 2019 by
|
144
144
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
145
145
|
0.9.20 (ruby-2.6.5).
|
146
146
|
</div>
|
data/docs/_index.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<meta charset="utf-8">
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
|
-
Mocha 1.10.
|
7
|
+
Mocha 1.10.2
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -52,7 +52,7 @@
|
|
52
52
|
<div class="clear"></div>
|
53
53
|
</div>
|
54
54
|
|
55
|
-
<div id="content"><h1 class="noborder title">Mocha 1.10.
|
55
|
+
<div id="content"><h1 class="noborder title">Mocha 1.10.2</h1>
|
56
56
|
<div id="listing">
|
57
57
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
58
58
|
|
@@ -509,7 +509,7 @@
|
|
509
509
|
</div>
|
510
510
|
|
511
511
|
<div id="footer">
|
512
|
-
Generated on
|
512
|
+
Generated on Thu Dec 12 10:57:46 2019 by
|
513
513
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
514
514
|
0.9.20 (ruby-2.6.5).
|
515
515
|
</div>
|
data/docs/file.COPYING.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: COPYING
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -71,7 +71,7 @@
|
|
71
71
|
</div>
|
72
72
|
|
73
73
|
<div id="footer">
|
74
|
-
Generated on
|
74
|
+
Generated on Thu Dec 12 10:57:46 2019 by
|
75
75
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
76
76
|
0.9.20 (ruby-2.6.5).
|
77
77
|
</div>
|
data/docs/file.MIT-LICENSE.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: MIT-LICENSE
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -75,7 +75,7 @@
|
|
75
75
|
</div>
|
76
76
|
|
77
77
|
<div id="footer">
|
78
|
-
Generated on
|
78
|
+
Generated on Thu Dec 12 10:57:46 2019 by
|
79
79
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
80
80
|
0.9.20 (ruby-2.6.5).
|
81
81
|
</div>
|
data/docs/file.README.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -438,7 +438,7 @@ Pushed mocha 1.2.0 to rubygems.org.
|
|
438
438
|
</div>
|
439
439
|
|
440
440
|
<div id="footer">
|
441
|
-
Generated on
|
441
|
+
Generated on Thu Dec 12 10:57:46 2019 by
|
442
442
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
443
443
|
0.9.20 (ruby-2.6.5).
|
444
444
|
</div>
|
data/docs/file.RELEASE.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: RELEASE
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -59,6 +59,17 @@
|
|
59
59
|
|
60
60
|
<div id="content"><div id='filecontents'><h1>Release Notes</h1>
|
61
61
|
|
62
|
+
<h2>1.10.2</h2>
|
63
|
+
|
64
|
+
<ul>
|
65
|
+
<li>Optionally reinstate undocumented behaviour from v1.9. This introduces a new configuration option (<code>reinstate_undocumented_behaviour_from_v1_9</code>) to reinstate a couple of bits of undocumented behaviour from v1.9 which were changed in v1.10 without any prior deprecation warning (#438):
|
66
|
+
|
67
|
+
<ul>
|
68
|
+
<li>The behaviour of <code>API#mock</code>, <code>API#stub</code> and <code>API#stub_everything</code> when called with a symbol as the first argument.</li>
|
69
|
+
<li>The behaviour of <code>Expectation#yields</code> and <code>Expectation#multiple_yields</code> when the stubbed method is called without a block.</li>
|
70
|
+
</ul></li>
|
71
|
+
</ul>
|
72
|
+
|
62
73
|
<h2>1.10.1</h2>
|
63
74
|
|
64
75
|
<ul>
|
@@ -953,7 +964,7 @@ Hash with wrong number of entries.</li>
|
|
953
964
|
</div>
|
954
965
|
|
955
966
|
<div id="footer">
|
956
|
-
Generated on
|
967
|
+
Generated on Thu Dec 12 10:57:46 2019 by
|
957
968
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
958
969
|
0.9.20 (ruby-2.6.5).
|
959
970
|
</div>
|
data/docs/frames.html
CHANGED
data/docs/index.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Mocha 1.10.
|
9
|
+
— Mocha 1.10.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -438,7 +438,7 @@ Pushed mocha 1.2.0 to rubygems.org.
|
|
438
438
|
</div>
|
439
439
|
|
440
440
|
<div id="footer">
|
441
|
-
Generated on
|
441
|
+
Generated on Thu Dec 12 10:57:46 2019 by
|
442
442
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
443
443
|
0.9.20 (ruby-2.6.5).
|
444
444
|
</div>
|
data/docs/method_list.html
CHANGED
@@ -389,6 +389,14 @@
|
|
389
389
|
|
390
390
|
|
391
391
|
<li class="even ">
|
392
|
+
<div class="item">
|
393
|
+
<span class='object_link'><a href="Mocha/Configuration.html#reinstate_undocumented_behaviour_from_v1_9=-instance_method" title="Mocha::Configuration#reinstate_undocumented_behaviour_from_v1_9= (method)">#reinstate_undocumented_behaviour_from_v1_9=</a></span>
|
394
|
+
<small>Mocha::Configuration</small>
|
395
|
+
</div>
|
396
|
+
</li>
|
397
|
+
|
398
|
+
|
399
|
+
<li class="odd ">
|
392
400
|
<div class="item">
|
393
401
|
<span class='object_link'><a href="Mocha/Mock.html#respond_to%3F-instance_method" title="Mocha::Mock#respond_to? (method)">#respond_to?</a></span>
|
394
402
|
<small>Mocha::Mock</small>
|
@@ -396,7 +404,7 @@
|
|
396
404
|
</li>
|
397
405
|
|
398
406
|
|
399
|
-
<li class="
|
407
|
+
<li class="even ">
|
400
408
|
<div class="item">
|
401
409
|
<span class='object_link'><a href="Mocha/Mock.html#responds_like-instance_method" title="Mocha::Mock#responds_like (method)">#responds_like</a></span>
|
402
410
|
<small>Mocha::Mock</small>
|
@@ -404,7 +412,7 @@
|
|
404
412
|
</li>
|
405
413
|
|
406
414
|
|
407
|
-
<li class="
|
415
|
+
<li class="odd ">
|
408
416
|
<div class="item">
|
409
417
|
<span class='object_link'><a href="Mocha/Mock.html#responds_like_instance_of-instance_method" title="Mocha::Mock#responds_like_instance_of (method)">#responds_like_instance_of</a></span>
|
410
418
|
<small>Mocha::Mock</small>
|
@@ -412,7 +420,7 @@
|
|
412
420
|
</li>
|
413
421
|
|
414
422
|
|
415
|
-
<li class="
|
423
|
+
<li class="even ">
|
416
424
|
<div class="item">
|
417
425
|
<span class='object_link'><a href="Mocha/ParameterMatchers.html#responds_with-instance_method" title="Mocha::ParameterMatchers#responds_with (method)">#responds_with</a></span>
|
418
426
|
<small>Mocha::ParameterMatchers</small>
|
@@ -420,7 +428,7 @@
|
|
420
428
|
</li>
|
421
429
|
|
422
430
|
|
423
|
-
<li class="
|
431
|
+
<li class="odd ">
|
424
432
|
<div class="item">
|
425
433
|
<span class='object_link'><a href="Mocha/Expectation.html#returns-instance_method" title="Mocha::Expectation#returns (method)">#returns</a></span>
|
426
434
|
<small>Mocha::Expectation</small>
|
@@ -428,7 +436,7 @@
|
|
428
436
|
</li>
|
429
437
|
|
430
438
|
|
431
|
-
<li class="
|
439
|
+
<li class="even ">
|
432
440
|
<div class="item">
|
433
441
|
<span class='object_link'><a href="Mocha/API.html#sequence-instance_method" title="Mocha::API#sequence (method)">#sequence</a></span>
|
434
442
|
<small>Mocha::API</small>
|
@@ -436,7 +444,7 @@
|
|
436
444
|
</li>
|
437
445
|
|
438
446
|
|
439
|
-
<li class="
|
447
|
+
<li class="odd ">
|
440
448
|
<div class="item">
|
441
449
|
<span class='object_link'><a href="Mocha/StateMachine.html#starts_as-instance_method" title="Mocha::StateMachine#starts_as (method)">#starts_as</a></span>
|
442
450
|
<small>Mocha::StateMachine</small>
|
@@ -444,7 +452,7 @@
|
|
444
452
|
</li>
|
445
453
|
|
446
454
|
|
447
|
-
<li class="
|
455
|
+
<li class="even ">
|
448
456
|
<div class="item">
|
449
457
|
<span class='object_link'><a href="Mocha/API.html#states-instance_method" title="Mocha::API#states (method)">#states</a></span>
|
450
458
|
<small>Mocha::API</small>
|
@@ -452,7 +460,7 @@
|
|
452
460
|
</li>
|
453
461
|
|
454
462
|
|
455
|
-
<li class="
|
463
|
+
<li class="odd ">
|
456
464
|
<div class="item">
|
457
465
|
<span class='object_link'><a href="Mocha/API.html#stub-instance_method" title="Mocha::API#stub (method)">#stub</a></span>
|
458
466
|
<small>Mocha::API</small>
|
@@ -460,7 +468,7 @@
|
|
460
468
|
</li>
|
461
469
|
|
462
470
|
|
463
|
-
<li class="
|
471
|
+
<li class="even ">
|
464
472
|
<div class="item">
|
465
473
|
<span class='object_link'><a href="Mocha/API.html#stub_everything-instance_method" title="Mocha::API#stub_everything (method)">#stub_everything</a></span>
|
466
474
|
<small>Mocha::API</small>
|
@@ -468,7 +476,7 @@
|
|
468
476
|
</li>
|
469
477
|
|
470
478
|
|
471
|
-
<li class="
|
479
|
+
<li class="odd ">
|
472
480
|
<div class="item">
|
473
481
|
<span class='object_link'><a href="Mocha/Configuration.html#stubbing_method_on_nil=-instance_method" title="Mocha::Configuration#stubbing_method_on_nil= (method)">#stubbing_method_on_nil=</a></span>
|
474
482
|
<small>Mocha::Configuration</small>
|
@@ -476,7 +484,7 @@
|
|
476
484
|
</li>
|
477
485
|
|
478
486
|
|
479
|
-
<li class="
|
487
|
+
<li class="even ">
|
480
488
|
<div class="item">
|
481
489
|
<span class='object_link'><a href="Mocha/Configuration.html#stubbing_method_on_non_mock_object=-instance_method" title="Mocha::Configuration#stubbing_method_on_non_mock_object= (method)">#stubbing_method_on_non_mock_object=</a></span>
|
482
490
|
<small>Mocha::Configuration</small>
|
@@ -484,7 +492,7 @@
|
|
484
492
|
</li>
|
485
493
|
|
486
494
|
|
487
|
-
<li class="
|
495
|
+
<li class="odd ">
|
488
496
|
<div class="item">
|
489
497
|
<span class='object_link'><a href="Mocha/Configuration.html#stubbing_method_unnecessarily=-instance_method" title="Mocha::Configuration#stubbing_method_unnecessarily= (method)">#stubbing_method_unnecessarily=</a></span>
|
490
498
|
<small>Mocha::Configuration</small>
|
@@ -492,7 +500,7 @@
|
|
492
500
|
</li>
|
493
501
|
|
494
502
|
|
495
|
-
<li class="
|
503
|
+
<li class="even ">
|
496
504
|
<div class="item">
|
497
505
|
<span class='object_link'><a href="Mocha/Configuration.html#stubbing_non_existent_method=-instance_method" title="Mocha::Configuration#stubbing_non_existent_method= (method)">#stubbing_non_existent_method=</a></span>
|
498
506
|
<small>Mocha::Configuration</small>
|
@@ -500,7 +508,7 @@
|
|
500
508
|
</li>
|
501
509
|
|
502
510
|
|
503
|
-
<li class="
|
511
|
+
<li class="odd ">
|
504
512
|
<div class="item">
|
505
513
|
<span class='object_link'><a href="Mocha/Configuration.html#stubbing_non_public_method=-instance_method" title="Mocha::Configuration#stubbing_non_public_method= (method)">#stubbing_non_public_method=</a></span>
|
506
514
|
<small>Mocha::Configuration</small>
|
@@ -508,23 +516,23 @@
|
|
508
516
|
</li>
|
509
517
|
|
510
518
|
|
511
|
-
<li class="
|
519
|
+
<li class="even ">
|
512
520
|
<div class="item">
|
513
|
-
<span class='object_link'><a href="Mocha/
|
514
|
-
<small>Mocha::
|
521
|
+
<span class='object_link'><a href="Mocha/Mock.html#stubs-instance_method" title="Mocha::Mock#stubs (method)">#stubs</a></span>
|
522
|
+
<small>Mocha::Mock</small>
|
515
523
|
</div>
|
516
524
|
</li>
|
517
525
|
|
518
526
|
|
519
|
-
<li class="
|
527
|
+
<li class="odd ">
|
520
528
|
<div class="item">
|
521
|
-
<span class='object_link'><a href="Mocha/
|
522
|
-
<small>Mocha::
|
529
|
+
<span class='object_link'><a href="Mocha/ObjectMethods.html#stubs-instance_method" title="Mocha::ObjectMethods#stubs (method)">#stubs</a></span>
|
530
|
+
<small>Mocha::ObjectMethods</small>
|
523
531
|
</div>
|
524
532
|
</li>
|
525
533
|
|
526
534
|
|
527
|
-
<li class="
|
535
|
+
<li class="even ">
|
528
536
|
<div class="item">
|
529
537
|
<span class='object_link'><a href="Mocha/Expectation.html#then-instance_method" title="Mocha::Expectation#then (method)">#then</a></span>
|
530
538
|
<small>Mocha::Expectation</small>
|
@@ -532,7 +540,7 @@
|
|
532
540
|
</li>
|
533
541
|
|
534
542
|
|
535
|
-
<li class="
|
543
|
+
<li class="odd ">
|
536
544
|
<div class="item">
|
537
545
|
<span class='object_link'><a href="Mocha/Expectation.html#throws-instance_method" title="Mocha::Expectation#throws (method)">#throws</a></span>
|
538
546
|
<small>Mocha::Expectation</small>
|
@@ -540,7 +548,7 @@
|
|
540
548
|
</li>
|
541
549
|
|
542
550
|
|
543
|
-
<li class="
|
551
|
+
<li class="even ">
|
544
552
|
<div class="item">
|
545
553
|
<span class='object_link'><a href="Mocha/Expectation.html#times-instance_method" title="Mocha::Expectation#times (method)">#times</a></span>
|
546
554
|
<small>Mocha::Expectation</small>
|
@@ -548,7 +556,7 @@
|
|
548
556
|
</li>
|
549
557
|
|
550
558
|
|
551
|
-
<li class="
|
559
|
+
<li class="odd ">
|
552
560
|
<div class="item">
|
553
561
|
<span class='object_link'><a href="Mocha/Expectation.html#twice-instance_method" title="Mocha::Expectation#twice (method)">#twice</a></span>
|
554
562
|
<small>Mocha::Expectation</small>
|
@@ -556,7 +564,7 @@
|
|
556
564
|
</li>
|
557
565
|
|
558
566
|
|
559
|
-
<li class="
|
567
|
+
<li class="even ">
|
560
568
|
<div class="item">
|
561
569
|
<span class='object_link'><a href="Mocha/Mock.html#unstub-instance_method" title="Mocha::Mock#unstub (method)">#unstub</a></span>
|
562
570
|
<small>Mocha::Mock</small>
|
@@ -564,7 +572,7 @@
|
|
564
572
|
</li>
|
565
573
|
|
566
574
|
|
567
|
-
<li class="
|
575
|
+
<li class="odd ">
|
568
576
|
<div class="item">
|
569
577
|
<span class='object_link'><a href="Mocha/ObjectMethods.html#unstub-instance_method" title="Mocha::ObjectMethods#unstub (method)">#unstub</a></span>
|
570
578
|
<small>Mocha::ObjectMethods</small>
|
@@ -572,7 +580,7 @@
|
|
572
580
|
</li>
|
573
581
|
|
574
582
|
|
575
|
-
<li class="
|
583
|
+
<li class="even deprecated">
|
576
584
|
<div class="item">
|
577
585
|
<span class='object_link'><a href="Mocha/Configuration.html#warn_when-class_method" title="Mocha::Configuration.warn_when (method)">warn_when</a></span>
|
578
586
|
<small>Mocha::Configuration</small>
|
@@ -580,7 +588,7 @@
|
|
580
588
|
</li>
|
581
589
|
|
582
590
|
|
583
|
-
<li class="
|
591
|
+
<li class="odd ">
|
584
592
|
<div class="item">
|
585
593
|
<span class='object_link'><a href="Mocha/Expectation.html#when-instance_method" title="Mocha::Expectation#when (method)">#when</a></span>
|
586
594
|
<small>Mocha::Expectation</small>
|
@@ -588,7 +596,7 @@
|
|
588
596
|
</li>
|
589
597
|
|
590
598
|
|
591
|
-
<li class="
|
599
|
+
<li class="even ">
|
592
600
|
<div class="item">
|
593
601
|
<span class='object_link'><a href="Mocha/Expectation.html#with-instance_method" title="Mocha::Expectation#with (method)">#with</a></span>
|
594
602
|
<small>Mocha::Expectation</small>
|
@@ -596,7 +604,7 @@
|
|
596
604
|
</li>
|
597
605
|
|
598
606
|
|
599
|
-
<li class="
|
607
|
+
<li class="odd ">
|
600
608
|
<div class="item">
|
601
609
|
<span class='object_link'><a href="Mocha/ParameterMatchers.html#yaml_equivalent-instance_method" title="Mocha::ParameterMatchers#yaml_equivalent (method)">#yaml_equivalent</a></span>
|
602
610
|
<small>Mocha::ParameterMatchers</small>
|
@@ -604,7 +612,7 @@
|
|
604
612
|
</li>
|
605
613
|
|
606
614
|
|
607
|
-
<li class="
|
615
|
+
<li class="even ">
|
608
616
|
<div class="item">
|
609
617
|
<span class='object_link'><a href="Mocha/Expectation.html#yields-instance_method" title="Mocha::Expectation#yields (method)">#yields</a></span>
|
610
618
|
<small>Mocha::Expectation</small>
|
@@ -612,7 +620,7 @@
|
|
612
620
|
</li>
|
613
621
|
|
614
622
|
|
615
|
-
<li class="
|
623
|
+
<li class="odd ">
|
616
624
|
<div class="item">
|
617
625
|
<span class='object_link'><a href="Mocha/ParameterMatchers/Base.html#%7C-instance_method" title="Mocha::ParameterMatchers::Base#| (method)">#|</a></span>
|
618
626
|
<small>Mocha::ParameterMatchers::Base</small>
|