mocha 1.8.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +1 -0
- data/.rubocop.yml +3 -0
- data/.rubocop_todo.yml +7 -30
- data/.yardopts +1 -0
- data/README.md +40 -13
- data/RELEASE.md +97 -0
- data/Rakefile +10 -7
- data/bin/build-matrix +1 -2
- data/docs/CNAME +1 -1
- data/docs/Mocha.html +132 -5
- data/docs/Mocha/API.html +437 -206
- data/docs/Mocha/ClassMethods.html +13 -16
- data/docs/Mocha/Configuration.html +1126 -227
- data/docs/Mocha/Expectation.html +420 -267
- data/docs/Mocha/ExpectationError.html +5 -10
- data/docs/Mocha/ExpectationErrorFactory.html +9 -18
- data/docs/Mocha/Hooks.html +12 -27
- data/docs/Mocha/Integration.html +3 -3
- data/docs/Mocha/Integration/MiniTest.html +3 -3
- data/docs/Mocha/Integration/MiniTest/Adapter.html +5 -6
- data/docs/Mocha/Integration/TestUnit.html +3 -3
- data/docs/Mocha/Integration/TestUnit/Adapter.html +5 -6
- data/docs/Mocha/Mock.html +202 -162
- data/docs/Mocha/ObjectMethods.html +121 -68
- data/docs/Mocha/ParameterMatchers.html +21 -109
- data/docs/Mocha/ParameterMatchers/AllOf.html +4 -5
- data/docs/Mocha/ParameterMatchers/AnyOf.html +4 -5
- data/docs/Mocha/ParameterMatchers/AnyParameters.html +3 -3
- data/docs/Mocha/ParameterMatchers/Anything.html +3 -3
- data/docs/Mocha/ParameterMatchers/Base.html +8 -15
- data/docs/Mocha/ParameterMatchers/Equals.html +4 -5
- data/docs/Mocha/ParameterMatchers/EquivalentUri.html +3 -3
- data/docs/Mocha/ParameterMatchers/HasEntries.html +4 -5
- data/docs/Mocha/ParameterMatchers/HasEntry.html +4 -5
- data/docs/Mocha/ParameterMatchers/HasKey.html +4 -5
- data/docs/Mocha/ParameterMatchers/HasValue.html +4 -5
- data/docs/Mocha/ParameterMatchers/Includes.html +4 -5
- data/docs/Mocha/ParameterMatchers/InstanceOf.html +4 -5
- data/docs/Mocha/ParameterMatchers/IsA.html +3 -3
- data/docs/Mocha/ParameterMatchers/KindOf.html +4 -5
- data/docs/Mocha/ParameterMatchers/Not.html +4 -5
- data/docs/Mocha/ParameterMatchers/Optionally.html +3 -3
- data/docs/Mocha/ParameterMatchers/RegexpMatches.html +4 -5
- data/docs/Mocha/ParameterMatchers/RespondsWith.html +4 -5
- data/docs/Mocha/ParameterMatchers/YamlEquivalent.html +4 -5
- data/docs/Mocha/Sequence.html +3 -3
- data/docs/Mocha/StateMachine.html +13 -25
- data/docs/Mocha/StateMachine/State.html +4 -5
- data/docs/Mocha/StateMachine/StatePredicate.html +4 -5
- data/docs/Mocha/StubbingError.html +3 -3
- data/docs/_index.html +4 -22
- data/docs/class_list.html +1 -1
- data/docs/file.COPYING.html +3 -3
- data/docs/file.MIT-LICENSE.html +3 -3
- data/docs/file.README.html +46 -16
- data/docs/file.RELEASE.html +130 -3
- data/docs/frames.html +1 -1
- data/docs/index.html +46 -16
- data/docs/js/app.js +11 -0
- data/docs/method_list.html +117 -37
- data/docs/top-level-namespace.html +3 -3
- data/gemfiles/Gemfile.minitest.5.11.3 +7 -0
- data/init.rb +1 -3
- data/lib/mocha.rb +8 -0
- data/lib/mocha/any_instance_method.rb +11 -53
- data/lib/mocha/api.rb +120 -56
- data/lib/mocha/block_matcher.rb +31 -0
- data/lib/mocha/cardinality.rb +26 -11
- data/lib/mocha/class_methods.rb +17 -15
- data/lib/mocha/configuration.rb +351 -67
- data/lib/mocha/deprecation.rb +2 -1
- data/lib/mocha/detection/test_unit.rb +1 -3
- data/lib/mocha/exception_raiser.rb +2 -1
- data/lib/mocha/expectation.rb +102 -63
- data/lib/mocha/expectation_error.rb +1 -3
- data/lib/mocha/expectation_list.rb +6 -6
- data/lib/mocha/inspect.rb +28 -26
- data/lib/mocha/instance_method.rb +19 -2
- data/lib/mocha/integration.rb +1 -3
- data/lib/mocha/integration/mini_test.rb +7 -0
- data/lib/mocha/integration/test_unit.rb +7 -0
- data/lib/mocha/invocation.rb +77 -0
- data/lib/mocha/macos_version.rb +5 -0
- data/lib/mocha/minitest.rb +6 -1
- data/lib/mocha/mock.rb +46 -31
- data/lib/mocha/mockery.rb +25 -61
- data/lib/mocha/names.rb +1 -1
- data/lib/mocha/object_methods.rb +13 -19
- data/lib/mocha/parameter_matchers.rb +1 -1
- data/lib/mocha/parameter_matchers/all_of.rb +1 -1
- data/lib/mocha/parameter_matchers/any_of.rb +1 -1
- data/lib/mocha/parameter_matchers/equivalent_uri.rb +0 -9
- data/lib/mocha/parameter_matchers/includes.rb +2 -0
- data/lib/mocha/parameter_matchers/instance_methods.rb +18 -0
- data/lib/mocha/raised_exception.rb +11 -0
- data/lib/mocha/return_values.rb +3 -3
- data/lib/mocha/setup.rb +5 -0
- data/lib/mocha/single_return_value.rb +2 -1
- data/lib/mocha/singleton_class.rb +9 -0
- data/lib/mocha/stubbed_method.rb +127 -0
- data/lib/mocha/test_unit.rb +6 -1
- data/lib/mocha/thrower.rb +2 -1
- data/lib/mocha/thrown_object.rb +12 -0
- data/lib/mocha/version.rb +1 -1
- data/lib/mocha/yield_parameters.rb +5 -11
- data/mocha.gemspec +1 -3
- data/test/acceptance/acceptance_test_helper.rb +7 -0
- data/test/acceptance/bug_18914_test.rb +0 -1
- data/test/acceptance/bug_21465_test.rb +0 -1
- data/test/acceptance/bug_21563_test.rb +0 -1
- data/test/acceptance/display_matching_invocations_alongside_expectations_test.rb +69 -0
- data/test/acceptance/exception_rescue_test.rb +1 -2
- data/test/acceptance/expectations_on_multiple_methods_test.rb +0 -1
- data/test/acceptance/expected_invocation_count_test.rb +2 -3
- data/test/acceptance/failure_messages_test.rb +16 -1
- data/test/acceptance/issue_272_test.rb +1 -2
- data/test/acceptance/issue_65_test.rb +0 -1
- data/test/acceptance/issue_70_test.rb +0 -1
- data/test/acceptance/mocha_example_test.rb +0 -1
- data/test/acceptance/mocha_test_result_test.rb +0 -1
- data/test/acceptance/mock_built_with_first_argument_type_being_string_test.rb +99 -0
- data/test/acceptance/mock_test.rb +47 -6
- data/test/acceptance/mocked_methods_dispatch_test.rb +0 -1
- data/test/acceptance/multiple_expectations_failure_message_test.rb +0 -1
- data/test/acceptance/multiple_yielding_test.rb +56 -0
- data/test/acceptance/optional_parameters_test.rb +0 -1
- data/test/acceptance/parameter_matcher_test.rb +0 -1
- data/test/acceptance/partial_mocks_test.rb +0 -1
- data/test/acceptance/prepend_test.rb +0 -1
- data/test/acceptance/prevent_use_of_mocha_outside_test_test.rb +0 -1
- data/test/acceptance/raise_exception_test.rb +0 -1
- data/test/acceptance/return_value_test.rb +0 -1
- data/test/acceptance/sequence_test.rb +0 -1
- data/test/acceptance/states_test.rb +0 -1
- data/test/acceptance/stub_any_instance_method_defined_on_superclass_test.rb +1 -2
- data/test/acceptance/stub_any_instance_method_test.rb +20 -1
- data/test/acceptance/stub_class_method_defined_on_active_record_association_proxy_test.rb +0 -1
- data/test/acceptance/stub_class_method_defined_on_class_test.rb +0 -1
- data/test/acceptance/stub_class_method_defined_on_module_test.rb +0 -1
- data/test/acceptance/stub_class_method_defined_on_superclass_test.rb +1 -2
- data/test/acceptance/stub_everything_test.rb +0 -1
- data/test/acceptance/stub_instance_method_defined_on_active_record_association_proxy_test.rb +0 -1
- data/test/acceptance/stub_instance_method_defined_on_class_and_aliased_test.rb +0 -1
- data/test/acceptance/stub_instance_method_defined_on_class_test.rb +0 -1
- data/test/acceptance/stub_instance_method_defined_on_kernel_module_test.rb +0 -1
- data/test/acceptance/stub_instance_method_defined_on_module_test.rb +0 -1
- data/test/acceptance/stub_instance_method_defined_on_object_class_test.rb +0 -1
- data/test/acceptance/stub_instance_method_defined_on_singleton_class_test.rb +0 -1
- data/test/acceptance/stub_instance_method_defined_on_superclass_test.rb +0 -1
- data/test/acceptance/stub_method_defined_on_module_and_aliased_test.rb +0 -1
- data/test/acceptance/stub_module_method_test.rb +0 -1
- data/test/acceptance/stub_test.rb +0 -1
- data/test/acceptance/stubba_example_test.rb +0 -1
- data/test/acceptance/stubba_test_result_test.rb +0 -1
- data/test/acceptance/stubbing_error_backtrace_test.rb +4 -5
- data/test/acceptance/stubbing_frozen_object_test.rb +0 -1
- data/test/acceptance/stubbing_method_accepting_block_parameter_test.rb +0 -1
- data/test/acceptance/stubbing_method_unnecessarily_test.rb +5 -5
- data/test/acceptance/stubbing_nil_test.rb +5 -5
- data/test/acceptance/stubbing_non_existent_any_instance_method_test.rb +27 -11
- data/test/acceptance/stubbing_non_existent_class_method_test.rb +11 -11
- data/test/acceptance/stubbing_non_existent_instance_method_test.rb +11 -11
- data/test/acceptance/stubbing_non_public_any_instance_method_test.rb +8 -8
- data/test/acceptance/stubbing_non_public_class_method_test.rb +9 -9
- data/test/acceptance/stubbing_non_public_instance_method_test.rb +9 -9
- data/test/acceptance/stubbing_on_non_mock_object_test.rb +5 -5
- data/test/acceptance/stubbing_same_class_method_on_parent_and_child_classes_test.rb +0 -1
- data/test/acceptance/throw_test.rb +0 -1
- data/test/acceptance/unexpected_invocation_test.rb +0 -1
- data/test/acceptance/unstubbing_test.rb +0 -1
- data/test/acceptance/yielding_test.rb +78 -0
- data/test/integration/shared_tests.rb +5 -3
- data/test/method_definer.rb +11 -17
- data/test/test_runner.rb +2 -0
- data/test/unit/any_instance_method_test.rb +60 -35
- data/test/unit/cardinality_test.rb +41 -23
- data/test/unit/central_test.rb +0 -1
- data/test/unit/class_methods_test.rb +1 -1
- data/test/unit/configuration_test.rb +12 -12
- data/test/unit/exception_raiser_test.rb +10 -5
- data/test/unit/expectation_list_test.rb +13 -11
- data/test/unit/expectation_test.rb +117 -103
- data/test/unit/instance_method_test.rb +282 -0
- data/test/unit/mock_test.rb +28 -19
- data/test/unit/mockery_test.rb +8 -11
- data/test/unit/module_methods_test.rb +2 -3
- data/test/unit/object_inspect_test.rb +6 -4
- data/test/unit/object_methods_test.rb +3 -2
- data/test/unit/parameter_matchers/equivalent_uri_test.rb +0 -9
- data/test/unit/parameter_matchers/has_entries_test.rb +1 -1
- data/test/unit/parameter_matchers/has_entry_test.rb +1 -1
- data/test/unit/parameter_matchers/has_key_test.rb +1 -1
- data/test/unit/parameter_matchers/has_value_test.rb +1 -1
- data/test/unit/parameter_matchers/includes_test.rb +1 -1
- data/test/unit/parameter_matchers/responds_with_test.rb +1 -1
- data/test/unit/return_values_test.rb +25 -20
- data/test/unit/single_return_value_test.rb +6 -1
- data/test/unit/thrower_test.rb +7 -2
- data/test/unit/yield_parameters_test.rb +35 -53
- metadata +18 -35
- data/docs/Mocha/UnexpectedInvocation.html +0 -140
- data/lib/mocha/class_method.rb +0 -113
- data/lib/mocha/mini_test.rb +0 -5
- data/lib/mocha/module_method.rb +0 -6
- data/lib/mocha/module_methods.rb +0 -10
- data/lib/mocha/multiple_yields.rb +0 -15
- data/lib/mocha/no_yields.rb +0 -5
- data/lib/mocha/parameter_matchers/object.rb +0 -15
- data/lib/mocha/single_yield.rb +0 -13
- data/lib/mocha/standalone.rb +0 -4
- data/lib/mocha/unexpected_invocation.rb +0 -24
- data/lib/mocha_standalone.rb +0 -4
- data/test/acceptance/mock_with_initializer_block_test.rb +0 -56
- data/test/unit/class_method_test.rb +0 -254
- data/test/unit/multiple_yields_test.rb +0 -16
- data/test/unit/no_yields_test.rb +0 -16
- data/test/unit/single_yield_test.rb +0 -16
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::Not
|
8
8
|
|
9
|
-
— Mocha 1.
|
9
|
+
— Mocha 1.11.0
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -104,8 +104,7 @@
|
|
104
104
|
<h2>Overview</h2><div class="docstring">
|
105
105
|
<div class="discussion">
|
106
106
|
|
107
|
-
<p>Parameter matcher which inverts the logic of the specified matcher using a
|
108
|
-
logical NOT operation.</p>
|
107
|
+
<p>Parameter matcher which inverts the logic of the specified matcher using a logical NOT operation.</p>
|
109
108
|
|
110
109
|
|
111
110
|
</div>
|
@@ -144,9 +143,9 @@ logical NOT operation.</p>
|
|
144
143
|
</div>
|
145
144
|
|
146
145
|
<div id="footer">
|
147
|
-
Generated on
|
146
|
+
Generated on Mon Dec 16 18:49:52 2019 by
|
148
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
149
|
-
0.9.
|
148
|
+
0.9.20 (ruby-2.6.5).
|
150
149
|
</div>
|
151
150
|
|
152
151
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::Optionally
|
8
8
|
|
9
|
-
— Mocha 1.
|
9
|
+
— Mocha 1.11.0
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -143,9 +143,9 @@
|
|
143
143
|
</div>
|
144
144
|
|
145
145
|
<div id="footer">
|
146
|
-
Generated on
|
146
|
+
Generated on Mon Dec 16 18:49:52 2019 by
|
147
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
148
|
-
0.9.
|
148
|
+
0.9.20 (ruby-2.6.5).
|
149
149
|
</div>
|
150
150
|
|
151
151
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::RegexpMatches
|
8
8
|
|
9
|
-
— Mocha 1.
|
9
|
+
— Mocha 1.11.0
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -104,8 +104,7 @@
|
|
104
104
|
<h2>Overview</h2><div class="docstring">
|
105
105
|
<div class="discussion">
|
106
106
|
|
107
|
-
<p>Parameter matcher which matches if specified regular expression matches
|
108
|
-
actual paramter.</p>
|
107
|
+
<p>Parameter matcher which matches if specified regular expression matches actual paramter.</p>
|
109
108
|
|
110
109
|
|
111
110
|
</div>
|
@@ -144,9 +143,9 @@ actual paramter.</p>
|
|
144
143
|
</div>
|
145
144
|
|
146
145
|
<div id="footer">
|
147
|
-
Generated on
|
146
|
+
Generated on Mon Dec 16 18:49:52 2019 by
|
148
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
149
|
-
0.9.
|
148
|
+
0.9.20 (ruby-2.6.5).
|
150
149
|
</div>
|
151
150
|
|
152
151
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::RespondsWith
|
8
8
|
|
9
|
-
— Mocha 1.
|
9
|
+
— Mocha 1.11.0
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -104,8 +104,7 @@
|
|
104
104
|
<h2>Overview</h2><div class="docstring">
|
105
105
|
<div class="discussion">
|
106
106
|
|
107
|
-
<p>Parameter matcher which matches if actual parameter returns expected result
|
108
|
-
when specified method is invoked.</p>
|
107
|
+
<p>Parameter matcher which matches if actual parameter returns expected result when specified method is invoked.</p>
|
109
108
|
|
110
109
|
|
111
110
|
</div>
|
@@ -144,9 +143,9 @@ when specified method is invoked.</p>
|
|
144
143
|
</div>
|
145
144
|
|
146
145
|
<div id="footer">
|
147
|
-
Generated on
|
146
|
+
Generated on Mon Dec 16 18:49:52 2019 by
|
148
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
149
|
-
0.9.
|
148
|
+
0.9.20 (ruby-2.6.5).
|
150
149
|
</div>
|
151
150
|
|
152
151
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::YamlEquivalent
|
8
8
|
|
9
|
-
— Mocha 1.
|
9
|
+
— Mocha 1.11.0
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -104,8 +104,7 @@
|
|
104
104
|
<h2>Overview</h2><div class="docstring">
|
105
105
|
<div class="discussion">
|
106
106
|
|
107
|
-
<p>Parameter matcher which matches if actual parameter is YAML equivalent of
|
108
|
-
specified object.</p>
|
107
|
+
<p>Parameter matcher which matches if actual parameter is YAML equivalent of specified object.</p>
|
109
108
|
|
110
109
|
|
111
110
|
</div>
|
@@ -144,9 +143,9 @@ specified object.</p>
|
|
144
143
|
</div>
|
145
144
|
|
146
145
|
<div id="footer">
|
147
|
-
Generated on
|
146
|
+
Generated on Mon Dec 16 18:49:52 2019 by
|
148
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
149
|
-
0.9.
|
148
|
+
0.9.20 (ruby-2.6.5).
|
150
149
|
</div>
|
151
150
|
|
152
151
|
</div>
|
data/docs/Mocha/Sequence.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::Sequence
|
8
8
|
|
9
|
-
— Mocha 1.
|
9
|
+
— Mocha 1.11.0
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -139,9 +139,9 @@
|
|
139
139
|
</div>
|
140
140
|
|
141
141
|
<div id="footer">
|
142
|
-
Generated on
|
142
|
+
Generated on Mon Dec 16 18:49:52 2019 by
|
143
143
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
144
|
-
0.9.
|
144
|
+
0.9.20 (ruby-2.6.5).
|
145
145
|
</div>
|
146
146
|
|
147
147
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::StateMachine
|
8
8
|
|
9
|
-
— Mocha 1.
|
9
|
+
— Mocha 1.11.0
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -102,9 +102,7 @@
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
104
104
|
|
105
|
-
<p>A state machine that is used to constrain the order of invocations. An
|
106
|
-
invocation can be constrained to occur when a state <span class='object_link'><a href="#is-instance_method" title="Mocha::StateMachine#is (method)">#is</a></span>, or <span class='object_link'><a href="#is_not-instance_method" title="Mocha::StateMachine#is_not (method)">#is_not</a></span>,
|
107
|
-
active.</p>
|
105
|
+
<p>A state machine that is used to constrain the order of invocations. An invocation can be constrained to occur when a state <span class='object_link'><a href="#is-instance_method" title="Mocha::StateMachine#is (method)">#is</a></span>, or <span class='object_link'><a href="#is_not-instance_method" title="Mocha::StateMachine#is_not (method)">#is_not</a></span>, active.</p>
|
108
106
|
|
109
107
|
|
110
108
|
</div>
|
@@ -179,8 +177,7 @@ active.</p>
|
|
179
177
|
|
180
178
|
|
181
179
|
<span class="summary_desc"><div class='inline'>
|
182
|
-
<p>Provides a mechanism to change the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">StateMachine</a></span> into the state specified
|
183
|
-
by <code>state_name</code> at some point in the future.</p>
|
180
|
+
<p>Provides a mechanism to change the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">StateMachine</a></span> into the state specified by <code>state_name</code> at some point in the future.</p>
|
184
181
|
</div></span>
|
185
182
|
|
186
183
|
</li>
|
@@ -204,8 +201,7 @@ by <code>state_name</code> at some point in the future.</p>
|
|
204
201
|
|
205
202
|
|
206
203
|
<span class="summary_desc"><div class='inline'>
|
207
|
-
<p>Provides a mechanism to determine whether the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">StateMachine</a></span> is not in the
|
208
|
-
state specified by <code>state_name</code> at some point in the future.</p>
|
204
|
+
<p>Provides a mechanism to determine whether the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">StateMachine</a></span> is not in the state specified by <code>state_name</code> at some point in the future.</p>
|
209
205
|
</div></span>
|
210
206
|
|
211
207
|
</li>
|
@@ -229,8 +225,7 @@ state specified by <code>state_name</code> at some point in the future.</p>
|
|
229
225
|
|
230
226
|
|
231
227
|
<span class="summary_desc"><div class='inline'>
|
232
|
-
<p>Put the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">StateMachine</a></span> into the state specified by
|
233
|
-
<code>initial_state_name</code>.</p>
|
228
|
+
<p>Put the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">StateMachine</a></span> into the state specified by <code>initial_state_name</code>.</p>
|
234
229
|
</div></span>
|
235
230
|
|
236
231
|
</li>
|
@@ -318,11 +313,9 @@ state specified by <code>state_name</code> at some point in the future.</p>
|
|
318
313
|
</h3><div class="docstring">
|
319
314
|
<div class="discussion">
|
320
315
|
|
321
|
-
<p>Provides a mechanism to change the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> into the state specified
|
322
|
-
by <code>state_name</code> at some point in the future.</p>
|
316
|
+
<p>Provides a mechanism to change the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> into the state specified by <code>state_name</code> at some point in the future.</p>
|
323
317
|
|
324
|
-
<p>Or provides a mechanism to determine whether the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> is in the
|
325
|
-
state specified by <code>state_name</code> at some point in the future.</p>
|
318
|
+
<p>Or provides a mechanism to determine whether the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> is in the state specified by <code>state_name</code> at some point in the future.</p>
|
326
319
|
|
327
320
|
|
328
321
|
</div>
|
@@ -361,8 +354,7 @@ state specified by <code>state_name</code> at some point in the future.</p>
|
|
361
354
|
|
362
355
|
—
|
363
356
|
<div class='inline'>
|
364
|
-
<p>state which, when activated, will change the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> into the state
|
365
|
-
with the specified <code>state_name</code>.</p>
|
357
|
+
<p>state which, when activated, will change the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> into the state with the specified <code>state_name</code>.</p>
|
366
358
|
</div>
|
367
359
|
|
368
360
|
</li>
|
@@ -402,9 +394,7 @@ with the specified <code>state_name</code>.</p>
|
|
402
394
|
</h3><div class="docstring">
|
403
395
|
<div class="discussion">
|
404
396
|
|
405
|
-
<p>Provides a mechanism to determine whether the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> is not in the
|
406
|
-
state specified by <code>state_name</code> at some point in the future.
|
407
|
-
rubocop:disable Naming/PredicateName</p>
|
397
|
+
<p>Provides a mechanism to determine whether the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> is not in the state specified by <code>state_name</code> at some point in the future. rubocop:disable Naming/PredicateName</p>
|
408
398
|
|
409
399
|
|
410
400
|
</div>
|
@@ -445,8 +435,7 @@ rubocop:disable Naming/PredicateName</p>
|
|
445
435
|
</h3><div class="docstring">
|
446
436
|
<div class="discussion">
|
447
437
|
|
448
|
-
<p>Put the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> into the state specified by
|
449
|
-
<code>initial_state_name</code>.</p>
|
438
|
+
<p>Put the <span class='object_link'><a href="" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> into the state specified by <code>initial_state_name</code>.</p>
|
450
439
|
|
451
440
|
|
452
441
|
</div>
|
@@ -485,8 +474,7 @@ rubocop:disable Naming/PredicateName</p>
|
|
485
474
|
|
486
475
|
—
|
487
476
|
<div class='inline'>
|
488
|
-
<p>state machine, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> methods
|
489
|
-
to be chained.</p>
|
477
|
+
<p>state machine, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> methods to be chained.</p>
|
490
478
|
</div>
|
491
479
|
|
492
480
|
</li>
|
@@ -529,9 +517,9 @@ to be chained.</p>
|
|
529
517
|
</div>
|
530
518
|
|
531
519
|
<div id="footer">
|
532
|
-
Generated on
|
520
|
+
Generated on Mon Dec 16 18:49:52 2019 by
|
533
521
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
534
|
-
0.9.
|
522
|
+
0.9.20 (ruby-2.6.5).
|
535
523
|
</div>
|
536
524
|
|
537
525
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::StateMachine::State
|
8
8
|
|
9
|
-
— Mocha 1.
|
9
|
+
— Mocha 1.11.0
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -102,8 +102,7 @@
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
104
104
|
|
105
|
-
<p>Provides a mechanism to change the state of a <span class='object_link'><a href="../StateMachine.html" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> at some point
|
106
|
-
in the future.</p>
|
105
|
+
<p>Provides a mechanism to change the state of a <span class='object_link'><a href="../StateMachine.html" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> at some point in the future.</p>
|
107
106
|
|
108
107
|
|
109
108
|
</div>
|
@@ -131,9 +130,9 @@ in the future.</p>
|
|
131
130
|
</div>
|
132
131
|
|
133
132
|
<div id="footer">
|
134
|
-
Generated on
|
133
|
+
Generated on Mon Dec 16 18:49:52 2019 by
|
135
134
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
136
|
-
0.9.
|
135
|
+
0.9.20 (ruby-2.6.5).
|
137
136
|
</div>
|
138
137
|
|
139
138
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::StateMachine::StatePredicate
|
8
8
|
|
9
|
-
— Mocha 1.
|
9
|
+
— Mocha 1.11.0
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -102,8 +102,7 @@
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
104
104
|
|
105
|
-
<p>Provides the ability to determine whether a <span class='object_link'><a href="../StateMachine.html" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> is in a
|
106
|
-
specified state at some point in the future.</p>
|
105
|
+
<p>Provides the ability to determine whether a <span class='object_link'><a href="../StateMachine.html" title="Mocha::StateMachine (class)">Mocha::StateMachine</a></span> is in a specified state at some point in the future.</p>
|
107
106
|
|
108
107
|
|
109
108
|
</div>
|
@@ -131,9 +130,9 @@ specified state at some point in the future.</p>
|
|
131
130
|
</div>
|
132
131
|
|
133
132
|
<div id="footer">
|
134
|
-
Generated on
|
133
|
+
Generated on Mon Dec 16 18:49:52 2019 by
|
135
134
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
136
|
-
0.9.
|
135
|
+
0.9.20 (ruby-2.6.5).
|
137
136
|
</div>
|
138
137
|
|
139
138
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::StubbingError
|
8
8
|
|
9
|
-
— Mocha 1.
|
9
|
+
— Mocha 1.11.0
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -140,9 +140,9 @@
|
|
140
140
|
</div>
|
141
141
|
|
142
142
|
<div id="footer">
|
143
|
-
Generated on
|
143
|
+
Generated on Mon Dec 16 18:49:52 2019 by
|
144
144
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
145
|
-
0.9.
|
145
|
+
0.9.20 (ruby-2.6.5).
|
146
146
|
</div>
|
147
147
|
|
148
148
|
</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.
|
7
|
+
Mocha 1.11.0
|
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.
|
55
|
+
<div id="content"><h1 class="noborder title">Mocha 1.11.0</h1>
|
56
56
|
<div id="listing">
|
57
57
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
58
58
|
|
@@ -478,24 +478,6 @@
|
|
478
478
|
</ul>
|
479
479
|
|
480
480
|
|
481
|
-
<ul id="alpha_U" class="alpha">
|
482
|
-
<li class="letter">U</li>
|
483
|
-
<ul>
|
484
|
-
|
485
|
-
<li>
|
486
|
-
<span class='object_link'><a href="Mocha/UnexpectedInvocation.html" title="Mocha::UnexpectedInvocation (class)">UnexpectedInvocation</a></span>
|
487
|
-
|
488
|
-
<small>(Mocha)</small>
|
489
|
-
|
490
|
-
</li>
|
491
|
-
|
492
|
-
</ul>
|
493
|
-
</ul>
|
494
|
-
|
495
|
-
|
496
|
-
</td><td valign='top' width="33%">
|
497
|
-
|
498
|
-
|
499
481
|
<ul id="alpha_Y" class="alpha">
|
500
482
|
<li class="letter">Y</li>
|
501
483
|
<ul>
|
@@ -527,9 +509,9 @@
|
|
527
509
|
</div>
|
528
510
|
|
529
511
|
<div id="footer">
|
530
|
-
Generated on
|
512
|
+
Generated on Mon Dec 16 18:49:50 2019 by
|
531
513
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
532
|
-
0.9.
|
514
|
+
0.9.20 (ruby-2.6.5).
|
533
515
|
</div>
|
534
516
|
|
535
517
|
</div>
|
data/docs/class_list.html
CHANGED
@@ -43,7 +43,7 @@
|
|
43
43
|
|
44
44
|
<ul id="full_list" class="class">
|
45
45
|
<li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
|
46
|
-
<li id='object_Mocha' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Mocha.html" title="Mocha (module)">Mocha</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Mocha::API' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/API.html" title="Mocha::API (module)">API</a></span><small class='search_info'>Mocha</small></div></li><li id='object_Mocha::ClassMethods' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/ClassMethods.html" title="Mocha::ClassMethods (module)">ClassMethods</a></span><small class='search_info'>Mocha</small></div></li><li id='object_Mocha::Configuration' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/Configuration.html" title="Mocha::Configuration (class)">Configuration</a></span> < Object<small class='search_info'>Mocha</small></div></li><li id='object_Mocha::Expectation' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/Expectation.html" title="Mocha::Expectation (class)">Expectation</a></span> < Object<small class='search_info'>Mocha</small></div></li><li id='object_Mocha::ExpectationError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/ExpectationError.html" title="Mocha::ExpectationError (class)">ExpectationError</a></span> < Exception<small class='search_info'>Mocha</small></div></li><li id='object_Mocha::ExpectationErrorFactory' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/ExpectationErrorFactory.html" title="Mocha::ExpectationErrorFactory (class)">ExpectationErrorFactory</a></span> < Object<small class='search_info'>Mocha</small></div></li><li id='object_Mocha::Hooks' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/Hooks.html" title="Mocha::Hooks (module)">Hooks</a></span><small class='search_info'>Mocha</small></div></li><li id='object_Mocha::Integration' class='collapsed even'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Mocha/Integration.html" title="Mocha::Integration (module)">Integration</a></span><small class='search_info'>Mocha</small></div><ul><li id='object_Mocha::Integration::MiniTest' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="Mocha/Integration/MiniTest.html" title="Mocha::Integration::MiniTest (module)">MiniTest</a></span><small class='search_info'>Mocha::Integration</small></div><ul><li id='object_Mocha::Integration::MiniTest::Adapter' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Mocha/Integration/MiniTest/Adapter.html" title="Mocha::Integration::MiniTest::Adapter (module)">Adapter</a></span><small class='search_info'>Mocha::Integration::MiniTest</small></div></li></ul></li><li id='object_Mocha::Integration::TestUnit' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="Mocha/Integration/TestUnit.html" title="Mocha::Integration::TestUnit (module)">TestUnit</a></span><small class='search_info'>Mocha::Integration</small></div><ul><li id='object_Mocha::Integration::TestUnit::Adapter' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Mocha/Integration/TestUnit/Adapter.html" title="Mocha::Integration::TestUnit::Adapter (module)">Adapter</a></span><small class='search_info'>Mocha::Integration::TestUnit</small></div></li></ul></li></ul></li><li id='object_Mocha::Mock' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/Mock.html" title="Mocha::Mock (class)">Mock</a></span> < Object<small class='search_info'>Mocha</small></div></li><li id='object_Mocha::ObjectMethods' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/ObjectMethods.html" title="Mocha::ObjectMethods (module)">ObjectMethods</a></span><small class='search_info'>Mocha</small></div></li><li id='object_Mocha::ParameterMatchers' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Mocha/ParameterMatchers.html" title="Mocha::ParameterMatchers (module)">ParameterMatchers</a></span><small class='search_info'>Mocha</small></div><ul><li id='object_Mocha::ParameterMatchers::AllOf' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/AllOf.html" title="Mocha::ParameterMatchers::AllOf (class)">AllOf</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::AnyOf' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/AnyOf.html" title="Mocha::ParameterMatchers::AnyOf (class)">AnyOf</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::AnyParameters' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/AnyParameters.html" title="Mocha::ParameterMatchers::AnyParameters (class)">AnyParameters</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::Anything' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/Anything.html" title="Mocha::ParameterMatchers::Anything (class)">Anything</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::Base' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/Base.html" title="Mocha::ParameterMatchers::Base (class)">Base</a></span> < Object<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::Equals' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/Equals.html" title="Mocha::ParameterMatchers::Equals (class)">Equals</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::EquivalentUri' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/EquivalentUri.html" title="Mocha::ParameterMatchers::EquivalentUri (class)">EquivalentUri</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::HasEntries' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/HasEntries.html" title="Mocha::ParameterMatchers::HasEntries (class)">HasEntries</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::HasEntry' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/HasEntry.html" title="Mocha::ParameterMatchers::HasEntry (class)">HasEntry</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::HasKey' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/HasKey.html" title="Mocha::ParameterMatchers::HasKey (class)">HasKey</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::HasValue' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/HasValue.html" title="Mocha::ParameterMatchers::HasValue (class)">HasValue</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::Includes' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/Includes.html" title="Mocha::ParameterMatchers::Includes (class)">Includes</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::InstanceOf' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/InstanceOf.html" title="Mocha::ParameterMatchers::InstanceOf (class)">InstanceOf</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::IsA' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/IsA.html" title="Mocha::ParameterMatchers::IsA (class)">IsA</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::KindOf' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/KindOf.html" title="Mocha::ParameterMatchers::KindOf (class)">KindOf</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::Not' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/Not.html" title="Mocha::ParameterMatchers::Not (class)">Not</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::Optionally' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/Optionally.html" title="Mocha::ParameterMatchers::Optionally (class)">Optionally</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::RegexpMatches' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/RegexpMatches.html" title="Mocha::ParameterMatchers::RegexpMatches (class)">RegexpMatches</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::RespondsWith' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/RespondsWith.html" title="Mocha::ParameterMatchers::RespondsWith (class)">RespondsWith</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::YamlEquivalent' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/YamlEquivalent.html" title="Mocha::ParameterMatchers::YamlEquivalent (class)">YamlEquivalent</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li></ul></li><li id='object_Mocha::Sequence' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/Sequence.html" title="Mocha::Sequence (class)">Sequence</a></span> < Object<small class='search_info'>Mocha</small></div></li><li id='object_Mocha::StateMachine' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Mocha/StateMachine.html" title="Mocha::StateMachine (class)">StateMachine</a></span> < Object<small class='search_info'>Mocha</small></div><ul><li id='object_Mocha::StateMachine::State' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/StateMachine/State.html" title="Mocha::StateMachine::State (class)">State</a></span> < Object<small class='search_info'>Mocha::StateMachine</small></div></li><li id='object_Mocha::StateMachine::StatePredicate' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/StateMachine/StatePredicate.html" title="Mocha::StateMachine::StatePredicate (class)">StatePredicate</a></span> < Object<small class='search_info'>Mocha::StateMachine</small></div></li></ul></li><li id='object_Mocha::StubbingError' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/StubbingError.html" title="Mocha::StubbingError (class)">StubbingError</a></span> < ErrorWithFilteredBacktrace<small class='search_info'>Mocha</small></div></li><li id='object_Mocha::UnexpectedInvocation' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/UnexpectedInvocation.html" title="Mocha::UnexpectedInvocation (class)">UnexpectedInvocation</a></span> < Object<small class='search_info'>Mocha</small></div></li></ul></li>
|
46
|
+
<li id='object_Mocha' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Mocha.html" title="Mocha (module)">Mocha</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Mocha::API' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/API.html" title="Mocha::API (module)">API</a></span><small class='search_info'>Mocha</small></div></li><li id='object_Mocha::ClassMethods' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/ClassMethods.html" title="Mocha::ClassMethods (module)">ClassMethods</a></span><small class='search_info'>Mocha</small></div></li><li id='object_Mocha::Configuration' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/Configuration.html" title="Mocha::Configuration (class)">Configuration</a></span> < Object<small class='search_info'>Mocha</small></div></li><li id='object_Mocha::Expectation' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/Expectation.html" title="Mocha::Expectation (class)">Expectation</a></span> < Object<small class='search_info'>Mocha</small></div></li><li id='object_Mocha::ExpectationError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/ExpectationError.html" title="Mocha::ExpectationError (class)">ExpectationError</a></span> < Exception<small class='search_info'>Mocha</small></div></li><li id='object_Mocha::ExpectationErrorFactory' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/ExpectationErrorFactory.html" title="Mocha::ExpectationErrorFactory (class)">ExpectationErrorFactory</a></span> < Object<small class='search_info'>Mocha</small></div></li><li id='object_Mocha::Hooks' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/Hooks.html" title="Mocha::Hooks (module)">Hooks</a></span><small class='search_info'>Mocha</small></div></li><li id='object_Mocha::Integration' class='collapsed even'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Mocha/Integration.html" title="Mocha::Integration (module)">Integration</a></span><small class='search_info'>Mocha</small></div><ul><li id='object_Mocha::Integration::MiniTest' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="Mocha/Integration/MiniTest.html" title="Mocha::Integration::MiniTest (module)">MiniTest</a></span><small class='search_info'>Mocha::Integration</small></div><ul><li id='object_Mocha::Integration::MiniTest::Adapter' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Mocha/Integration/MiniTest/Adapter.html" title="Mocha::Integration::MiniTest::Adapter (module)">Adapter</a></span><small class='search_info'>Mocha::Integration::MiniTest</small></div></li></ul></li><li id='object_Mocha::Integration::TestUnit' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="Mocha/Integration/TestUnit.html" title="Mocha::Integration::TestUnit (module)">TestUnit</a></span><small class='search_info'>Mocha::Integration</small></div><ul><li id='object_Mocha::Integration::TestUnit::Adapter' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Mocha/Integration/TestUnit/Adapter.html" title="Mocha::Integration::TestUnit::Adapter (module)">Adapter</a></span><small class='search_info'>Mocha::Integration::TestUnit</small></div></li></ul></li></ul></li><li id='object_Mocha::Mock' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/Mock.html" title="Mocha::Mock (class)">Mock</a></span> < Object<small class='search_info'>Mocha</small></div></li><li id='object_Mocha::ObjectMethods' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/ObjectMethods.html" title="Mocha::ObjectMethods (module)">ObjectMethods</a></span><small class='search_info'>Mocha</small></div></li><li id='object_Mocha::ParameterMatchers' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Mocha/ParameterMatchers.html" title="Mocha::ParameterMatchers (module)">ParameterMatchers</a></span><small class='search_info'>Mocha</small></div><ul><li id='object_Mocha::ParameterMatchers::AllOf' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/AllOf.html" title="Mocha::ParameterMatchers::AllOf (class)">AllOf</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::AnyOf' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/AnyOf.html" title="Mocha::ParameterMatchers::AnyOf (class)">AnyOf</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::AnyParameters' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/AnyParameters.html" title="Mocha::ParameterMatchers::AnyParameters (class)">AnyParameters</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::Anything' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/Anything.html" title="Mocha::ParameterMatchers::Anything (class)">Anything</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::Base' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/Base.html" title="Mocha::ParameterMatchers::Base (class)">Base</a></span> < Object<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::Equals' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/Equals.html" title="Mocha::ParameterMatchers::Equals (class)">Equals</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::EquivalentUri' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/EquivalentUri.html" title="Mocha::ParameterMatchers::EquivalentUri (class)">EquivalentUri</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::HasEntries' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/HasEntries.html" title="Mocha::ParameterMatchers::HasEntries (class)">HasEntries</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::HasEntry' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/HasEntry.html" title="Mocha::ParameterMatchers::HasEntry (class)">HasEntry</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::HasKey' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/HasKey.html" title="Mocha::ParameterMatchers::HasKey (class)">HasKey</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::HasValue' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/HasValue.html" title="Mocha::ParameterMatchers::HasValue (class)">HasValue</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::Includes' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/Includes.html" title="Mocha::ParameterMatchers::Includes (class)">Includes</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::InstanceOf' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/InstanceOf.html" title="Mocha::ParameterMatchers::InstanceOf (class)">InstanceOf</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::IsA' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/IsA.html" title="Mocha::ParameterMatchers::IsA (class)">IsA</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::KindOf' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/KindOf.html" title="Mocha::ParameterMatchers::KindOf (class)">KindOf</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::Not' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/Not.html" title="Mocha::ParameterMatchers::Not (class)">Not</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::Optionally' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/Optionally.html" title="Mocha::ParameterMatchers::Optionally (class)">Optionally</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::RegexpMatches' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/RegexpMatches.html" title="Mocha::ParameterMatchers::RegexpMatches (class)">RegexpMatches</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::RespondsWith' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/RespondsWith.html" title="Mocha::ParameterMatchers::RespondsWith (class)">RespondsWith</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li><li id='object_Mocha::ParameterMatchers::YamlEquivalent' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/ParameterMatchers/YamlEquivalent.html" title="Mocha::ParameterMatchers::YamlEquivalent (class)">YamlEquivalent</a></span> < Base<small class='search_info'>Mocha::ParameterMatchers</small></div></li></ul></li><li id='object_Mocha::Sequence' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/Sequence.html" title="Mocha::Sequence (class)">Sequence</a></span> < Object<small class='search_info'>Mocha</small></div></li><li id='object_Mocha::StateMachine' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Mocha/StateMachine.html" title="Mocha::StateMachine (class)">StateMachine</a></span> < Object<small class='search_info'>Mocha</small></div><ul><li id='object_Mocha::StateMachine::State' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/StateMachine/State.html" title="Mocha::StateMachine::State (class)">State</a></span> < Object<small class='search_info'>Mocha::StateMachine</small></div></li><li id='object_Mocha::StateMachine::StatePredicate' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Mocha/StateMachine/StatePredicate.html" title="Mocha::StateMachine::StatePredicate (class)">StatePredicate</a></span> < Object<small class='search_info'>Mocha::StateMachine</small></div></li></ul></li><li id='object_Mocha::StubbingError' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Mocha/StubbingError.html" title="Mocha::StubbingError (class)">StubbingError</a></span> < ErrorWithFilteredBacktrace<small class='search_info'>Mocha</small></div></li></ul></li>
|
47
47
|
|
48
48
|
</ul>
|
49
49
|
</div>
|
data/docs/file.COPYING.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: COPYING
|
8
8
|
|
9
|
-
— Mocha 1.
|
9
|
+
— Mocha 1.11.0
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -71,9 +71,9 @@
|
|
71
71
|
</div>
|
72
72
|
|
73
73
|
<div id="footer">
|
74
|
-
Generated on
|
74
|
+
Generated on Mon Dec 16 18:49:50 2019 by
|
75
75
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
76
|
-
0.9.
|
76
|
+
0.9.20 (ruby-2.6.5).
|
77
77
|
</div>
|
78
78
|
|
79
79
|
</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.
|
9
|
+
— Mocha 1.11.0
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -75,9 +75,9 @@
|
|
75
75
|
</div>
|
76
76
|
|
77
77
|
<div id="footer">
|
78
|
-
Generated on
|
78
|
+
Generated on Mon Dec 16 18:49:50 2019 by
|
79
79
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
80
|
-
0.9.
|
80
|
+
0.9.20 (ruby-2.6.5).
|
81
81
|
</div>
|
82
82
|
|
83
83
|
</div>
|