rr 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +4 -0
- data/README +25 -0
- data/Rakefile +1 -1
- data/lib/rr/double.rb +10 -10
- data/lib/rr/double_creator.rb +5 -5
- data/lib/rr/double_injection.rb +7 -7
- data/lib/rr/double_method_proxy.rb +1 -2
- data/lib/rr/space.rb +21 -21
- data/lib/rr/wildcard_matchers/anything.rb +4 -0
- data/lib/rr/wildcard_matchers/boolean.rb +4 -0
- data/lib/rr/wildcard_matchers/duck_type.rb +7 -0
- data/lib/rr/wildcard_matchers/is_a.rb +4 -0
- data/lib/rr/wildcard_matchers/numeric.rb +4 -0
- data/spec/high_level_spec.rb +14 -0
- data/spec/rr/adapters/rr_methods_space_spec.rb +16 -16
- data/spec/rr/double/double_injection_bind_spec.rb +47 -20
- data/spec/rr/double/double_injection_dispatching_spec.rb +26 -20
- data/spec/rr/double/double_injection_has_original_method_spec.rb +10 -11
- data/spec/rr/double/double_injection_register_scenario_spec.rb +6 -6
- data/spec/rr/double/double_injection_reset_spec.rb +11 -14
- data/spec/rr/double/double_injection_spec.rb +18 -12
- data/spec/rr/double/double_injection_verify_spec.rb +5 -5
- data/spec/rr/double_definition_spec.rb +5 -5
- data/spec/rr/double_method_proxy_spec.rb +5 -5
- data/spec/rr/double_spec.rb +48 -48
- data/spec/rr/expectations/anything_spec.rb +14 -0
- data/spec/rr/expectations/boolean_spec.rb +14 -0
- data/spec/rr/expectations/duck_type_spec.rb +14 -0
- data/spec/rr/expectations/is_a_spec.rb +14 -0
- data/spec/rr/expectations/numeric_spec.rb +14 -0
- data/spec/rr/expectations/range_spec.rb +10 -0
- data/spec/rr/expectations/regexp_spec.rb +10 -0
- data/spec/rr/expectations/times_called_expectation/times_called_expectation_helper.rb +3 -3
- data/spec/rr/rspec/rspec_adapter_spec.rb +12 -12
- data/spec/rr/space/space_create_spec.rb +27 -37
- data/spec/rr/space/space_register_spec.rb +3 -3
- data/spec/rr/space/space_reset_spec.rb +24 -24
- data/spec/rr/space/space_spec.rb +2 -2
- data/spec/rr/space/space_verify_spec.rb +18 -18
- metadata +9 -2
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rr
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.4.
|
7
|
-
date: 2008-01-
|
6
|
+
version: 0.4.4
|
7
|
+
date: 2008-01-15 00:00:00 -08:00
|
8
8
|
summary: RR (Double Ruby) is a double framework that features a rich selection of double techniques and a terse syntax. http://xunitpatterns.com/Test%20Double.html
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -102,14 +102,21 @@ files:
|
|
102
102
|
- spec/rr/expectations/times_called_expectation/times_called_expectation_at_most_spec.rb
|
103
103
|
- spec/rr/expectations/times_called_expectation/times_called_expectation_range_spec.rb
|
104
104
|
- spec/rr/expectations/times_called_expectation/times_called_expectation_any_times_spec.rb
|
105
|
+
- spec/rr/expectations/numeric_spec.rb
|
106
|
+
- spec/rr/expectations/duck_type_spec.rb
|
107
|
+
- spec/rr/expectations/boolean_spec.rb
|
105
108
|
- spec/rr/expectations/boolean_argument_equality_expectation_spec.rb
|
106
109
|
- spec/rr/expectations/regexp_argument_equality_expectation_spec.rb
|
107
110
|
- spec/rr/expectations/anything_argument_equality_expectation_spec.rb
|
108
111
|
- spec/rr/expectations/is_a_argument_equality_expectation_spec.rb
|
112
|
+
- spec/rr/expectations/range_spec.rb
|
109
113
|
- spec/rr/expectations/any_argument_expectation_spec.rb
|
114
|
+
- spec/rr/expectations/regexp_spec.rb
|
110
115
|
- spec/rr/expectations/argument_equality_expectation_spec.rb
|
116
|
+
- spec/rr/expectations/is_a_spec.rb
|
111
117
|
- spec/rr/expectations/numeric_argument_equality_expectation_spec.rb
|
112
118
|
- spec/rr/expectations/duck_type_argument_equality_expectation_spec.rb
|
119
|
+
- spec/rr/expectations/anything_spec.rb
|
113
120
|
- spec/rr/expectations/range_argument_equality_expectation_spec.rb
|
114
121
|
- spec/rr/errors/rr_error_spec.rb
|
115
122
|
- spec/rr/adapters/rr_methods_spec_helper.rb
|