rr 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +3 -43
- data/CHANGES.md +46 -0
- data/CREDITS.md +5 -0
- data/Gemfile +3 -12
- data/README.md +25 -24
- data/Rakefile +16 -38
- data/doc/02_syntax_comparison.md +1 -0
- data/lib/rr/core_ext/array.rb +2 -0
- data/lib/rr/core_ext/hash.rb +2 -0
- data/lib/rr/deprecations.rb +97 -0
- data/lib/rr/double_definitions/double_injections/any_instance_of.rb +1 -1
- data/lib/rr/double_definitions/double_injections/instance.rb +2 -2
- data/lib/rr/dsl.rb +152 -0
- data/lib/rr/injections/method_missing_injection.rb +6 -2
- data/lib/rr/integrations/minitest_4.rb +1 -1
- data/lib/rr/integrations/minitest_4_active_support.rb +1 -1
- data/lib/rr/integrations/rspec/invocation_matcher.rb +0 -8
- data/lib/rr/integrations/rspec_2.rb +20 -2
- data/lib/rr/recorded_call.rb +29 -0
- data/lib/rr/recorded_calls.rb +8 -4
- data/lib/rr/space.rb +1 -1
- data/lib/rr/spy_verification.rb +13 -5
- data/lib/rr/version.rb +1 -1
- data/lib/rr/wildcard_matchers.rb +10 -10
- data/lib/rr/without_autohook.rb +5 -13
- data/rr.gemspec +3 -3
- data/spec/defines_spec_suite_tasks.rb +12 -0
- data/spec/global_helper.rb +5 -0
- data/spec/spec_suite_configuration.rb +1 -7
- data/spec/suites.yml +1 -1
- data/spec/suites/rspec_2/functional/any_instance_of_spec.rb +133 -33
- data/spec/suites/rspec_2/functional/dont_allow_spec.rb +13 -8
- data/spec/suites/rspec_2/functional/mock_bang_spec.rb +20 -0
- data/spec/suites/rspec_2/functional/mock_instance_of_spec.rb +14 -0
- data/spec/suites/rspec_2/functional/mock_instance_of_strong_spec.rb +15 -0
- data/spec/suites/rspec_2/functional/mock_proxy_instance_of_spec.rb +15 -0
- data/spec/suites/rspec_2/functional/mock_proxy_spec.rb +14 -0
- data/spec/suites/rspec_2/functional/mock_spec.rb +8 -232
- data/spec/suites/rspec_2/functional/mock_strong_spec.rb +14 -0
- data/spec/suites/rspec_2/functional/received_spec.rb +16 -0
- data/spec/suites/rspec_2/functional/spy_spec.rb +89 -28
- data/spec/suites/rspec_2/functional/stub_bang_spec.rb +20 -0
- data/spec/suites/rspec_2/functional/stub_instance_of_spec.rb +15 -0
- data/spec/suites/rspec_2/functional/stub_instance_of_strong_spec.rb +15 -0
- data/spec/suites/rspec_2/functional/stub_proxy_instance_of_spec.rb +16 -0
- data/spec/suites/rspec_2/functional/stub_proxy_spec.rb +45 -0
- data/spec/suites/rspec_2/functional/stub_spec.rb +42 -161
- data/spec/suites/rspec_2/functional/stub_strong_spec.rb +15 -0
- data/spec/suites/rspec_2/helper.rb +2 -2
- data/spec/suites/rspec_2/support/mixins/double_definition_creator_helpers.rb +173 -0
- data/spec/suites/rspec_2/support/mixins/mock_definition_creator_helpers.rb +45 -0
- data/spec/suites/rspec_2/support/mixins/proxy_definition_creator_helpers.rb +33 -0
- data/spec/suites/rspec_2/support/mixins/stub_creator_helpers.rb +43 -0
- data/spec/suites/rspec_2/support/mixins/stub_definition_creator_helpers.rb +45 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/argument_expectations_with_never_called_qualifier.rb +39 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/argument_expectations_with_times_called_qualifier.rb +50 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/argument_expectations_without_qualifiers.rb +131 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/dont_allow.rb +148 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/mock_instance_of.rb +26 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/mock_instance_of_strong.rb +28 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/mock_proxy.rb +11 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/mock_strong.rb +37 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/mocking.rb +107 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/stub_instance_of.rb +32 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/stub_instance_of_strong.rb +39 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/stub_proxy.rb +11 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/stub_strong.rb +37 -0
- data/spec/suites/rspec_2/support/shared_contexts/double_definition_creators/stubbing.rb +57 -0
- data/spec/suites/rspec_2/support/shared_examples/double_definition_creators/array_flatten_bug.rb +35 -0
- data/spec/suites/rspec_2/support/shared_examples/double_definition_creators/block_form.rb +31 -0
- data/spec/suites/rspec_2/support/shared_examples/double_definition_creators/comparing_arity.rb +63 -0
- data/spec/suites/rspec_2/support/shared_examples/double_definition_creators/object_is_proxy.rb +43 -0
- data/spec/suites/rspec_2/support/shared_examples/double_definition_creators/sequential_invocations.rb +26 -0
- data/spec/suites/rspec_2/support/shared_examples/double_definition_creators/setting_implementation.rb +51 -0
- data/spec/suites/rspec_2/support/shared_examples/double_definition_creators/yields.rb +81 -0
- data/spec/suites/rspec_2/unit/core_ext/enumerable_spec.rb +0 -28
- data/spec/suites/rspec_2/unit/deprecations_spec.rb +27 -0
- data/spec/suites/rspec_2/unit/dsl/double_creators_spec.rb +133 -0
- data/spec/suites/rspec_2/unit/dsl/space_spec.rb +99 -0
- data/spec/suites/rspec_2/unit/dsl/wildcard_matchers_spec.rb +67 -0
- data/spec/suites/rspec_2/unit/integrations/rspec_spec.rb +4 -19
- data/spec/suites/rspec_2/unit/space_spec.rb +5 -3
- data/spec/suites/rspec_2/unit/spy_verification_spec.rb +1 -1
- data/spec/support/adapter.rb +1 -1
- data/spec/support/adapter_tests/rspec.rb +19 -15
- data/spec/support/project/generator.rb +0 -4
- metadata +55 -48
- data/gemfiles/ruby_18_rspec_1.gemfile +0 -14
- data/gemfiles/ruby_18_rspec_1.gemfile.lock +0 -38
- data/gemfiles/ruby_18_rspec_1_rails_2.gemfile +0 -18
- data/gemfiles/ruby_18_rspec_1_rails_2.gemfile.lock +0 -64
- data/gemfiles/ruby_19_rspec_2_rails_3.gemfile +0 -15
- data/gemfiles/ruby_19_rspec_2_rails_3.gemfile.lock +0 -123
- data/lib/rr/adapters.rb +0 -34
- data/lib/rr/adapters/rr_methods.rb +0 -142
- data/lib/rr/integrations/rspec_1.rb +0 -46
- data/lib/rr/integrations/test_unit_1.rb +0 -63
- data/lib/rr/integrations/test_unit_2.rb +0 -17
- data/lib/rr/integrations/test_unit_200.rb +0 -27
- data/lib/rr/integrations/test_unit_200_active_support.rb +0 -25
- data/lib/rr/integrations/test_unit_2_active_support.rb +0 -38
- data/spec/suites/rspec_1/helper.rb +0 -24
- data/spec/suites/rspec_1/integration/rspec_1_spec.rb +0 -93
- data/spec/suites/rspec_1/integration/test_unit_1_spec.rb +0 -102
- data/spec/suites/rspec_1/integration/test_unit_2_spec.rb +0 -109
- data/spec/suites/rspec_1/spec_helper.rb +0 -3
- data/spec/suites/rspec_1_rails_2/integration/astc_rails_2_spec.rb +0 -141
- data/spec/suites/rspec_1_rails_2/integration/rspec_1_rails_2_spec.rb +0 -132
- data/spec/suites/rspec_1_rails_2/integration/test_unit_1_rails_2_spec.rb +0 -141
- data/spec/suites/rspec_1_rails_2/integration/test_unit_2_rails_2_spec.rb +0 -148
- data/spec/suites/rspec_1_rails_2/spec_helper.rb +0 -3
- data/spec/suites/rspec_2/functional/dsl_spec.rb +0 -13
- data/spec/suites/rspec_2/functional/instance_of_spec.rb +0 -14
- data/spec/suites/rspec_2/functional/proxy_spec.rb +0 -136
- data/spec/suites/rspec_2/functional/strong_spec.rb +0 -79
- data/spec/suites/rspec_2/integration/test_unit_200_spec.rb +0 -102
- data/spec/suites/rspec_2/integration/test_unit_2_spec.rb +0 -109
- data/spec/suites/rspec_2/unit/adapters/rr_methods/double_creators_spec.rb +0 -135
- data/spec/suites/rspec_2/unit/adapters/rr_methods/space_spec.rb +0 -101
- data/spec/suites/rspec_2/unit/adapters/rr_methods/wildcard_matchers_spec.rb +0 -69
- data/spec/suites/rspec_2_rails_3/integration/astc_rails_3_spec.rb +0 -141
- data/spec/suites/rspec_2_rails_3/integration/minitest_4_rails_3_spec.rb +0 -148
- data/spec/suites/rspec_2_rails_3/integration/rspec_2_rails_3_spec.rb +0 -172
- data/spec/suites/rspec_2_rails_3/integration/test_unit_200_rails_3_spec.rb +0 -141
- data/spec/suites/rspec_2_rails_3/integration/test_unit_2_rails_3_spec.rb +0 -148
- data/spec/suites/rspec_2_rails_3/spec_helper.rb +0 -3
- data/spec/suites/rspec_2_rails_4/integration/test_unit_200_rails_4_spec.rb +0 -142
- data/spec/suites/rspec_2_rails_4/integration/test_unit_2_rails_4_spec.rb +0 -149
@@ -27,26 +27,30 @@ module AdapterTests
|
|
27
27
|
assert_times_called_verifications_work
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
stub(subject).foobar(1, 2)
|
36
|
-
subject.foobar(1, 2)
|
37
|
-
subject.should have_received.foobar(1, 2)
|
30
|
+
specify 'have_received works' do
|
31
|
+
subject = Object.new
|
32
|
+
stub(subject).foobar(1, 2)
|
33
|
+
subject.foobar(1, 2)
|
34
|
+
subject.should have_received.foobar(1, 2)
|
38
35
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
end
|
36
|
+
expect {
|
37
|
+
subject.should have_received.foobar(1, 2, 3)
|
38
|
+
}.to raise_error(
|
39
|
+
expectation_not_met_error,
|
40
|
+
/Expected foobar\(1, 2, 3\).+to be called 1 time/m
|
41
|
+
)
|
46
42
|
end
|
47
43
|
end
|
48
44
|
end
|
49
45
|
|
46
|
+
def expectation_not_met_error
|
47
|
+
if defined?(::RSpec)
|
48
|
+
::RSpec::Expectations::ExpectationNotMetError
|
49
|
+
else
|
50
|
+
Spec::Expectations::ExpectationNotMetError
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
50
54
|
def assert_equal(expected, actual)
|
51
55
|
expected.should be == actual
|
52
56
|
end
|
metadata
CHANGED
@@ -1,20 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
+
- Kouhei Sutou
|
7
8
|
- Brian Takita
|
8
9
|
- Elliot Winkler
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date:
|
13
|
+
date: 2016-05-29 00:00:00.000000000 Z
|
13
14
|
dependencies: []
|
14
15
|
description: RR is a test double framework that features a rich selection of double
|
15
16
|
techniques and a terse syntax.
|
16
17
|
email:
|
17
|
-
-
|
18
|
+
- kou@cozmixng.org
|
18
19
|
executables: []
|
19
20
|
extensions: []
|
20
21
|
extra_rdoc_files: []
|
@@ -29,19 +30,11 @@ files:
|
|
29
30
|
- doc/01_test_double.md
|
30
31
|
- doc/02_syntax_comparison.md
|
31
32
|
- doc/03_api_overview.md
|
32
|
-
- gemfiles/ruby_18_rspec_1.gemfile
|
33
|
-
- gemfiles/ruby_18_rspec_1.gemfile.lock
|
34
|
-
- gemfiles/ruby_18_rspec_1_rails_2.gemfile
|
35
|
-
- gemfiles/ruby_18_rspec_1_rails_2.gemfile.lock
|
36
33
|
- gemfiles/ruby_19_rspec_2.gemfile
|
37
34
|
- gemfiles/ruby_19_rspec_2.gemfile.lock
|
38
|
-
- gemfiles/ruby_19_rspec_2_rails_3.gemfile
|
39
|
-
- gemfiles/ruby_19_rspec_2_rails_3.gemfile.lock
|
40
35
|
- gemfiles/ruby_19_rspec_2_rails_4.gemfile
|
41
36
|
- gemfiles/ruby_19_rspec_2_rails_4.gemfile.lock
|
42
37
|
- lib/rr.rb
|
43
|
-
- lib/rr/adapters.rb
|
44
|
-
- lib/rr/adapters/rr_methods.rb
|
45
38
|
- lib/rr/autohook.rb
|
46
39
|
- lib/rr/blank_slate.rb
|
47
40
|
- lib/rr/class_instance_method_defined.rb
|
@@ -50,6 +43,7 @@ files:
|
|
50
43
|
- lib/rr/core_ext/hash.rb
|
51
44
|
- lib/rr/core_ext/range.rb
|
52
45
|
- lib/rr/core_ext/regexp.rb
|
46
|
+
- lib/rr/deprecations.rb
|
53
47
|
- lib/rr/double.rb
|
54
48
|
- lib/rr/double_definitions/child_double_definition_create.rb
|
55
49
|
- lib/rr/double_definitions/double_definition.rb
|
@@ -71,6 +65,7 @@ files:
|
|
71
65
|
- lib/rr/double_definitions/strategies/verification/stub.rb
|
72
66
|
- lib/rr/double_definitions/strategies/verification/verification_strategy.rb
|
73
67
|
- lib/rr/double_matches.rb
|
68
|
+
- lib/rr/dsl.rb
|
74
69
|
- lib/rr/errors.rb
|
75
70
|
- lib/rr/errors/double_definition_error.rb
|
76
71
|
- lib/rr/errors/double_not_found_error.rb
|
@@ -97,17 +92,12 @@ files:
|
|
97
92
|
- lib/rr/integrations/minitest_4_active_support.rb
|
98
93
|
- lib/rr/integrations/minitest_active_support.rb
|
99
94
|
- lib/rr/integrations/rspec/invocation_matcher.rb
|
100
|
-
- lib/rr/integrations/rspec_1.rb
|
101
95
|
- lib/rr/integrations/rspec_2.rb
|
102
|
-
- lib/rr/integrations/test_unit_1.rb
|
103
|
-
- lib/rr/integrations/test_unit_2.rb
|
104
|
-
- lib/rr/integrations/test_unit_200.rb
|
105
|
-
- lib/rr/integrations/test_unit_200_active_support.rb
|
106
|
-
- lib/rr/integrations/test_unit_2_active_support.rb
|
107
96
|
- lib/rr/method_dispatches/base_method_dispatch.rb
|
108
97
|
- lib/rr/method_dispatches/method_dispatch.rb
|
109
98
|
- lib/rr/method_dispatches/method_missing_dispatch.rb
|
110
99
|
- lib/rr/proc_from_block.rb
|
100
|
+
- lib/rr/recorded_call.rb
|
111
101
|
- lib/rr/recorded_calls.rb
|
112
102
|
- lib/rr/space.rb
|
113
103
|
- lib/rr/spy_verification.rb
|
@@ -142,47 +132,71 @@ files:
|
|
142
132
|
- spec/spec_suite_configuration.rb
|
143
133
|
- spec/spec_suite_runner.rb
|
144
134
|
- spec/suites.yml
|
145
|
-
- spec/suites/rspec_1/helper.rb
|
146
|
-
- spec/suites/rspec_1/integration/rspec_1_spec.rb
|
147
|
-
- spec/suites/rspec_1/integration/test_unit_1_spec.rb
|
148
|
-
- spec/suites/rspec_1/integration/test_unit_2_spec.rb
|
149
|
-
- spec/suites/rspec_1/spec_helper.rb
|
150
|
-
- spec/suites/rspec_1_rails_2/integration/astc_rails_2_spec.rb
|
151
|
-
- spec/suites/rspec_1_rails_2/integration/rspec_1_rails_2_spec.rb
|
152
|
-
- spec/suites/rspec_1_rails_2/integration/test_unit_1_rails_2_spec.rb
|
153
|
-
- spec/suites/rspec_1_rails_2/integration/test_unit_2_rails_2_spec.rb
|
154
|
-
- spec/suites/rspec_1_rails_2/spec_helper.rb
|
155
135
|
- spec/suites/rspec_2/functional/any_instance_of_spec.rb
|
156
136
|
- spec/suites/rspec_2/functional/dont_allow_spec.rb
|
157
|
-
- spec/suites/rspec_2/functional/
|
158
|
-
- spec/suites/rspec_2/functional/
|
137
|
+
- spec/suites/rspec_2/functional/mock_bang_spec.rb
|
138
|
+
- spec/suites/rspec_2/functional/mock_instance_of_spec.rb
|
139
|
+
- spec/suites/rspec_2/functional/mock_instance_of_strong_spec.rb
|
140
|
+
- spec/suites/rspec_2/functional/mock_proxy_instance_of_spec.rb
|
141
|
+
- spec/suites/rspec_2/functional/mock_proxy_spec.rb
|
159
142
|
- spec/suites/rspec_2/functional/mock_spec.rb
|
160
|
-
- spec/suites/rspec_2/functional/
|
143
|
+
- spec/suites/rspec_2/functional/mock_strong_spec.rb
|
144
|
+
- spec/suites/rspec_2/functional/received_spec.rb
|
161
145
|
- spec/suites/rspec_2/functional/spy_spec.rb
|
162
|
-
- spec/suites/rspec_2/functional/
|
146
|
+
- spec/suites/rspec_2/functional/stub_bang_spec.rb
|
147
|
+
- spec/suites/rspec_2/functional/stub_instance_of_spec.rb
|
148
|
+
- spec/suites/rspec_2/functional/stub_instance_of_strong_spec.rb
|
149
|
+
- spec/suites/rspec_2/functional/stub_proxy_instance_of_spec.rb
|
150
|
+
- spec/suites/rspec_2/functional/stub_proxy_spec.rb
|
163
151
|
- spec/suites/rspec_2/functional/stub_spec.rb
|
152
|
+
- spec/suites/rspec_2/functional/stub_strong_spec.rb
|
164
153
|
- spec/suites/rspec_2/functional/wildcard_matchers_spec.rb
|
165
154
|
- spec/suites/rspec_2/helper.rb
|
166
155
|
- spec/suites/rspec_2/integration/minitest_4_spec.rb
|
167
156
|
- spec/suites/rspec_2/integration/minitest_spec.rb
|
168
157
|
- spec/suites/rspec_2/integration/rspec_2_spec.rb
|
169
|
-
- spec/suites/rspec_2/integration/test_unit_200_spec.rb
|
170
|
-
- spec/suites/rspec_2/integration/test_unit_2_spec.rb
|
171
158
|
- spec/suites/rspec_2/spec_helper.rb
|
172
159
|
- spec/suites/rspec_2/support/matchers/wildcard_matcher_matchers.rb
|
160
|
+
- spec/suites/rspec_2/support/mixins/double_definition_creator_helpers.rb
|
161
|
+
- spec/suites/rspec_2/support/mixins/mock_definition_creator_helpers.rb
|
162
|
+
- spec/suites/rspec_2/support/mixins/proxy_definition_creator_helpers.rb
|
163
|
+
- spec/suites/rspec_2/support/mixins/stub_creator_helpers.rb
|
164
|
+
- spec/suites/rspec_2/support/mixins/stub_definition_creator_helpers.rb
|
165
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/argument_expectations_with_never_called_qualifier.rb
|
166
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/argument_expectations_with_times_called_qualifier.rb
|
167
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/argument_expectations_without_qualifiers.rb
|
168
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/dont_allow.rb
|
169
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/mock_instance_of.rb
|
170
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/mock_instance_of_strong.rb
|
171
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/mock_proxy.rb
|
172
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/mock_strong.rb
|
173
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/mocking.rb
|
174
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/stub_instance_of.rb
|
175
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/stub_instance_of_strong.rb
|
176
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/stub_proxy.rb
|
177
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/stub_strong.rb
|
178
|
+
- spec/suites/rspec_2/support/shared_contexts/double_definition_creators/stubbing.rb
|
179
|
+
- spec/suites/rspec_2/support/shared_examples/double_definition_creators/array_flatten_bug.rb
|
180
|
+
- spec/suites/rspec_2/support/shared_examples/double_definition_creators/block_form.rb
|
181
|
+
- spec/suites/rspec_2/support/shared_examples/double_definition_creators/comparing_arity.rb
|
182
|
+
- spec/suites/rspec_2/support/shared_examples/double_definition_creators/object_is_proxy.rb
|
183
|
+
- spec/suites/rspec_2/support/shared_examples/double_definition_creators/sequential_invocations.rb
|
184
|
+
- spec/suites/rspec_2/support/shared_examples/double_definition_creators/setting_implementation.rb
|
185
|
+
- spec/suites/rspec_2/support/shared_examples/double_definition_creators/yields.rb
|
173
186
|
- spec/suites/rspec_2/support/shared_examples/space.rb
|
174
187
|
- spec/suites/rspec_2/support/shared_examples/times_called_expectation.rb
|
175
|
-
- spec/suites/rspec_2/unit/adapters/rr_methods/double_creators_spec.rb
|
176
|
-
- spec/suites/rspec_2/unit/adapters/rr_methods/space_spec.rb
|
177
|
-
- spec/suites/rspec_2/unit/adapters/rr_methods/wildcard_matchers_spec.rb
|
178
188
|
- spec/suites/rspec_2/unit/core_ext/array_spec.rb
|
179
189
|
- spec/suites/rspec_2/unit/core_ext/enumerable_spec.rb
|
180
190
|
- spec/suites/rspec_2/unit/core_ext/hash_spec.rb
|
181
191
|
- spec/suites/rspec_2/unit/core_ext/range_spec.rb
|
182
192
|
- spec/suites/rspec_2/unit/core_ext/regexp_spec.rb
|
193
|
+
- spec/suites/rspec_2/unit/deprecations_spec.rb
|
183
194
|
- spec/suites/rspec_2/unit/double_definitions/child_double_definition_create_spec.rb
|
184
195
|
- spec/suites/rspec_2/unit/double_definitions/double_definition_create_blank_slate_spec.rb
|
185
196
|
- spec/suites/rspec_2/unit/double_definitions/double_definition_create_spec.rb
|
197
|
+
- spec/suites/rspec_2/unit/dsl/double_creators_spec.rb
|
198
|
+
- spec/suites/rspec_2/unit/dsl/space_spec.rb
|
199
|
+
- spec/suites/rspec_2/unit/dsl/wildcard_matchers_spec.rb
|
186
200
|
- spec/suites/rspec_2/unit/errors/rr_error_spec.rb
|
187
201
|
- spec/suites/rspec_2/unit/expectations/any_argument_expectation_spec.rb
|
188
202
|
- spec/suites/rspec_2/unit/expectations/anything_argument_equality_expectation_spec.rb
|
@@ -219,17 +233,9 @@ files:
|
|
219
233
|
- spec/suites/rspec_2/unit/wildcard_matchers/is_a_spec.rb
|
220
234
|
- spec/suites/rspec_2/unit/wildcard_matchers/numeric_spec.rb
|
221
235
|
- spec/suites/rspec_2/unit/wildcard_matchers/satisfy_spec.rb
|
222
|
-
- spec/suites/rspec_2_rails_3/integration/astc_rails_3_spec.rb
|
223
|
-
- spec/suites/rspec_2_rails_3/integration/minitest_4_rails_3_spec.rb
|
224
|
-
- spec/suites/rspec_2_rails_3/integration/rspec_2_rails_3_spec.rb
|
225
|
-
- spec/suites/rspec_2_rails_3/integration/test_unit_200_rails_3_spec.rb
|
226
|
-
- spec/suites/rspec_2_rails_3/integration/test_unit_2_rails_3_spec.rb
|
227
|
-
- spec/suites/rspec_2_rails_3/spec_helper.rb
|
228
236
|
- spec/suites/rspec_2_rails_4/integration/astc_rails_4_spec.rb
|
229
237
|
- spec/suites/rspec_2_rails_4/integration/minitest_4_rails_4_spec.rb
|
230
238
|
- spec/suites/rspec_2_rails_4/integration/rspec_2_rails_4_spec.rb
|
231
|
-
- spec/suites/rspec_2_rails_4/integration/test_unit_200_rails_4_spec.rb
|
232
|
-
- spec/suites/rspec_2_rails_4/integration/test_unit_2_rails_4_spec.rb
|
233
239
|
- spec/suites/rspec_2_rails_4/spec_helper.rb
|
234
240
|
- spec/support/adapter.rb
|
235
241
|
- spec/support/adapter_tests/base.rb
|
@@ -287,7 +293,7 @@ files:
|
|
287
293
|
- spec/support/test_helper/rspec.rb
|
288
294
|
- spec/support/test_helper/ruby.rb
|
289
295
|
- spec/support/test_helper/test_unit.rb
|
290
|
-
homepage:
|
296
|
+
homepage: https://rr.github.io/rr
|
291
297
|
licenses:
|
292
298
|
- MIT
|
293
299
|
metadata: {}
|
@@ -297,19 +303,20 @@ require_paths:
|
|
297
303
|
- lib
|
298
304
|
required_ruby_version: !ruby/object:Gem::Requirement
|
299
305
|
requirements:
|
300
|
-
- -
|
306
|
+
- - ">="
|
301
307
|
- !ruby/object:Gem::Version
|
302
308
|
version: '0'
|
303
309
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
304
310
|
requirements:
|
305
|
-
- -
|
311
|
+
- - ">="
|
306
312
|
- !ruby/object:Gem::Version
|
307
313
|
version: '0'
|
308
314
|
requirements: []
|
309
315
|
rubyforge_project:
|
310
|
-
rubygems_version: 2.
|
316
|
+
rubygems_version: 2.5.1
|
311
317
|
signing_key:
|
312
318
|
specification_version: 4
|
313
319
|
summary: RR is a test double framework that features a rich selection of double techniques
|
314
320
|
and a terse syntax.
|
315
321
|
test_files: []
|
322
|
+
has_rdoc:
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "rake", "~> 10.0"
|
6
|
-
gem "aws-sdk", "~> 1.0"
|
7
|
-
gem "minitar", "~> 0.5"
|
8
|
-
gem "dotenv", "~> 0.7"
|
9
|
-
gem "simplecov", "~> 0.7"
|
10
|
-
gem "appraisal", "~> 0.5"
|
11
|
-
gem "posix-spawn", :platforms=>:mri
|
12
|
-
gem "open4", :platforms=>:mri
|
13
|
-
gem "rspec", "~> 1.3"
|
14
|
-
|
@@ -1,38 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
appraisal (0.5.2)
|
5
|
-
bundler
|
6
|
-
rake
|
7
|
-
aws-sdk (1.9.2)
|
8
|
-
json (~> 1.4)
|
9
|
-
nokogiri (>= 1.4.4)
|
10
|
-
uuidtools (~> 2.1)
|
11
|
-
dotenv (0.7.0)
|
12
|
-
json (1.7.7)
|
13
|
-
minitar (0.5.4)
|
14
|
-
multi_json (1.7.7)
|
15
|
-
nokogiri (1.5.9)
|
16
|
-
open4 (1.3.0)
|
17
|
-
posix-spawn (0.3.6)
|
18
|
-
rake (10.0.4)
|
19
|
-
rspec (1.3.2)
|
20
|
-
simplecov (0.7.1)
|
21
|
-
multi_json (~> 1.0)
|
22
|
-
simplecov-html (~> 0.7.1)
|
23
|
-
simplecov-html (0.7.1)
|
24
|
-
uuidtools (2.1.4)
|
25
|
-
|
26
|
-
PLATFORMS
|
27
|
-
ruby
|
28
|
-
|
29
|
-
DEPENDENCIES
|
30
|
-
appraisal (~> 0.5)
|
31
|
-
aws-sdk (~> 1.0)
|
32
|
-
dotenv (~> 0.7)
|
33
|
-
minitar (~> 0.5)
|
34
|
-
open4
|
35
|
-
posix-spawn
|
36
|
-
rake (~> 10.0)
|
37
|
-
rspec (~> 1.3)
|
38
|
-
simplecov (~> 0.7)
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "rake", "~> 10.0"
|
6
|
-
gem "aws-sdk", "~> 1.0"
|
7
|
-
gem "minitar", "~> 0.5"
|
8
|
-
gem "dotenv", "~> 0.7"
|
9
|
-
gem "simplecov", "~> 0.7"
|
10
|
-
gem "appraisal", "~> 0.5"
|
11
|
-
gem "posix-spawn", :platforms=>:mri
|
12
|
-
gem "open4", :platforms=>:mri
|
13
|
-
gem "rspec", "~> 1.3"
|
14
|
-
gem "rails", "~> 2.3"
|
15
|
-
gem "mocha", "~> 0.12.0"
|
16
|
-
gem "sqlite3", "~> 1.3", :platforms=>:ruby
|
17
|
-
gem "activerecord-jdbcsqlite3-adapter", :platforms=>:jruby
|
18
|
-
|
@@ -1,64 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
actionmailer (2.3.18)
|
5
|
-
actionpack (= 2.3.18)
|
6
|
-
actionpack (2.3.18)
|
7
|
-
activesupport (= 2.3.18)
|
8
|
-
rack (~> 1.1.0)
|
9
|
-
activerecord (2.3.18)
|
10
|
-
activesupport (= 2.3.18)
|
11
|
-
activeresource (2.3.18)
|
12
|
-
activesupport (= 2.3.18)
|
13
|
-
activesupport (2.3.18)
|
14
|
-
appraisal (0.5.2)
|
15
|
-
bundler
|
16
|
-
rake
|
17
|
-
aws-sdk (1.9.2)
|
18
|
-
json (~> 1.4)
|
19
|
-
nokogiri (>= 1.4.4)
|
20
|
-
uuidtools (~> 2.1)
|
21
|
-
dotenv (0.7.0)
|
22
|
-
json (1.7.7)
|
23
|
-
metaclass (0.0.1)
|
24
|
-
minitar (0.5.4)
|
25
|
-
mocha (0.12.10)
|
26
|
-
metaclass (~> 0.0.1)
|
27
|
-
multi_json (1.7.7)
|
28
|
-
nokogiri (1.5.9)
|
29
|
-
open4 (1.3.0)
|
30
|
-
posix-spawn (0.3.6)
|
31
|
-
rack (1.1.6)
|
32
|
-
rails (2.3.18)
|
33
|
-
actionmailer (= 2.3.18)
|
34
|
-
actionpack (= 2.3.18)
|
35
|
-
activerecord (= 2.3.18)
|
36
|
-
activeresource (= 2.3.18)
|
37
|
-
activesupport (= 2.3.18)
|
38
|
-
rake (>= 0.8.3)
|
39
|
-
rake (10.0.4)
|
40
|
-
rspec (1.3.2)
|
41
|
-
simplecov (0.7.1)
|
42
|
-
multi_json (~> 1.0)
|
43
|
-
simplecov-html (~> 0.7.1)
|
44
|
-
simplecov-html (0.7.1)
|
45
|
-
sqlite3 (1.3.7)
|
46
|
-
uuidtools (2.1.4)
|
47
|
-
|
48
|
-
PLATFORMS
|
49
|
-
ruby
|
50
|
-
|
51
|
-
DEPENDENCIES
|
52
|
-
activerecord-jdbcsqlite3-adapter
|
53
|
-
appraisal (~> 0.5)
|
54
|
-
aws-sdk (~> 1.0)
|
55
|
-
dotenv (~> 0.7)
|
56
|
-
minitar (~> 0.5)
|
57
|
-
mocha (~> 0.12.0)
|
58
|
-
open4
|
59
|
-
posix-spawn
|
60
|
-
rails (~> 2.3)
|
61
|
-
rake (~> 10.0)
|
62
|
-
rspec (~> 1.3)
|
63
|
-
simplecov (~> 0.7)
|
64
|
-
sqlite3 (~> 1.3)
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "rake", "~> 10.0"
|
6
|
-
gem "aws-sdk", "~> 1.0"
|
7
|
-
gem "minitar", "~> 0.5"
|
8
|
-
gem "dotenv", "~> 0.7"
|
9
|
-
gem "simplecov", "~> 0.7"
|
10
|
-
gem "appraisal", "~> 0.5"
|
11
|
-
gem "posix-spawn", :platforms=>:mri
|
12
|
-
gem "open4", :platforms=>:mri
|
13
|
-
gem "rspec", "~> 2.14"
|
14
|
-
gem "rails", "~> 3.0"
|
15
|
-
|
@@ -1,123 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
actionmailer (3.2.13)
|
5
|
-
actionpack (= 3.2.13)
|
6
|
-
mail (~> 2.5.3)
|
7
|
-
actionpack (3.2.13)
|
8
|
-
activemodel (= 3.2.13)
|
9
|
-
activesupport (= 3.2.13)
|
10
|
-
builder (~> 3.0.0)
|
11
|
-
erubis (~> 2.7.0)
|
12
|
-
journey (~> 1.0.4)
|
13
|
-
rack (~> 1.4.5)
|
14
|
-
rack-cache (~> 1.2)
|
15
|
-
rack-test (~> 0.6.1)
|
16
|
-
sprockets (~> 2.2.1)
|
17
|
-
activemodel (3.2.13)
|
18
|
-
activesupport (= 3.2.13)
|
19
|
-
builder (~> 3.0.0)
|
20
|
-
activerecord (3.2.13)
|
21
|
-
activemodel (= 3.2.13)
|
22
|
-
activesupport (= 3.2.13)
|
23
|
-
arel (~> 3.0.2)
|
24
|
-
tzinfo (~> 0.3.29)
|
25
|
-
activeresource (3.2.13)
|
26
|
-
activemodel (= 3.2.13)
|
27
|
-
activesupport (= 3.2.13)
|
28
|
-
activesupport (3.2.13)
|
29
|
-
i18n (= 0.6.1)
|
30
|
-
multi_json (~> 1.0)
|
31
|
-
appraisal (0.5.2)
|
32
|
-
bundler
|
33
|
-
rake
|
34
|
-
arel (3.0.2)
|
35
|
-
aws-sdk (1.9.5)
|
36
|
-
json (~> 1.4)
|
37
|
-
nokogiri (>= 1.4.4)
|
38
|
-
uuidtools (~> 2.1)
|
39
|
-
builder (3.0.4)
|
40
|
-
diff-lcs (1.2.4)
|
41
|
-
dotenv (0.7.0)
|
42
|
-
erubis (2.7.0)
|
43
|
-
hike (1.2.3)
|
44
|
-
i18n (0.6.1)
|
45
|
-
journey (1.0.4)
|
46
|
-
json (1.8.0)
|
47
|
-
json (1.8.0-java)
|
48
|
-
mail (2.5.4)
|
49
|
-
mime-types (~> 1.16)
|
50
|
-
treetop (~> 1.4.8)
|
51
|
-
mime-types (1.23)
|
52
|
-
minitar (0.5.4)
|
53
|
-
multi_json (1.7.7)
|
54
|
-
nokogiri (1.5.9)
|
55
|
-
nokogiri (1.5.9-java)
|
56
|
-
open4 (1.3.0)
|
57
|
-
polyglot (0.3.3)
|
58
|
-
posix-spawn (0.3.6)
|
59
|
-
rack (1.4.5)
|
60
|
-
rack-cache (1.2)
|
61
|
-
rack (>= 0.4)
|
62
|
-
rack-ssl (1.3.3)
|
63
|
-
rack
|
64
|
-
rack-test (0.6.2)
|
65
|
-
rack (>= 1.0)
|
66
|
-
rails (3.2.13)
|
67
|
-
actionmailer (= 3.2.13)
|
68
|
-
actionpack (= 3.2.13)
|
69
|
-
activerecord (= 3.2.13)
|
70
|
-
activeresource (= 3.2.13)
|
71
|
-
activesupport (= 3.2.13)
|
72
|
-
bundler (~> 1.0)
|
73
|
-
railties (= 3.2.13)
|
74
|
-
railties (3.2.13)
|
75
|
-
actionpack (= 3.2.13)
|
76
|
-
activesupport (= 3.2.13)
|
77
|
-
rack-ssl (~> 1.3.2)
|
78
|
-
rake (>= 0.8.7)
|
79
|
-
rdoc (~> 3.4)
|
80
|
-
thor (>= 0.14.6, < 2.0)
|
81
|
-
rake (10.0.4)
|
82
|
-
rdoc (3.12.2)
|
83
|
-
json (~> 1.4)
|
84
|
-
rspec (2.14.1)
|
85
|
-
rspec-core (~> 2.14.0)
|
86
|
-
rspec-expectations (~> 2.14.0)
|
87
|
-
rspec-mocks (~> 2.14.0)
|
88
|
-
rspec-core (2.14.5)
|
89
|
-
rspec-expectations (2.14.2)
|
90
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
91
|
-
rspec-mocks (2.14.3)
|
92
|
-
simplecov (0.7.1)
|
93
|
-
multi_json (~> 1.0)
|
94
|
-
simplecov-html (~> 0.7.1)
|
95
|
-
simplecov-html (0.7.1)
|
96
|
-
sprockets (2.2.2)
|
97
|
-
hike (~> 1.2)
|
98
|
-
multi_json (~> 1.0)
|
99
|
-
rack (~> 1.0)
|
100
|
-
tilt (~> 1.1, != 1.3.0)
|
101
|
-
thor (0.18.1)
|
102
|
-
tilt (1.4.1)
|
103
|
-
treetop (1.4.14)
|
104
|
-
polyglot
|
105
|
-
polyglot (>= 0.3.1)
|
106
|
-
tzinfo (0.3.37)
|
107
|
-
uuidtools (2.1.4)
|
108
|
-
|
109
|
-
PLATFORMS
|
110
|
-
java
|
111
|
-
ruby
|
112
|
-
|
113
|
-
DEPENDENCIES
|
114
|
-
appraisal (~> 0.5)
|
115
|
-
aws-sdk (~> 1.0)
|
116
|
-
dotenv (~> 0.7)
|
117
|
-
minitar (~> 0.5)
|
118
|
-
open4
|
119
|
-
posix-spawn
|
120
|
-
rails (~> 3.0)
|
121
|
-
rake (~> 10.0)
|
122
|
-
rspec (~> 2.14)
|
123
|
-
simplecov (~> 0.7)
|