flexmock 0.6.4 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +8 -0
- data/README +116 -3
- data/Rakefile +5 -5
- data/TAGS +396 -282
- data/doc/releases/flexmock-0.7.0.rdoc +138 -0
- data/lib/flexmock/base.rb +2 -1
- data/lib/flexmock/core.rb +30 -29
- data/lib/flexmock/core_class_methods.rb +21 -30
- data/lib/flexmock/deprecated_methods.rb +62 -0
- data/lib/flexmock/expectation.rb +101 -21
- data/lib/flexmock/expectation_director.rb +10 -5
- data/lib/flexmock/mock_container.rb +144 -29
- data/lib/flexmock/ordering.rb +51 -0
- data/lib/flexmock/partial_mock.rb +23 -22
- data/test/asserts.rb +34 -0
- data/test/redirect_error.rb +16 -0
- data/test/rspec_integration/integration_spec.rb +6 -0
- data/test/test_demeter_mocking.rb +129 -0
- data/test/{test_mock.rb → test_deprecated_methods.rb} +64 -17
- data/test/test_example.rb +4 -3
- data/test/test_extended_should_receive.rb +1 -1
- data/test/test_flexmodel.rb +17 -1
- data/test/test_naming.rb +43 -8
- data/test/test_new_instances.rb +2 -22
- data/test/test_partial_mock.rb +19 -19
- data/test/test_record_mode.rb +27 -38
- data/test/test_should_receive.rb +199 -27
- metadata +11 -4
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
2
|
+
rubygems_version: 0.9.4
|
3
3
|
specification_version: 1
|
4
4
|
name: flexmock
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.7.0
|
7
|
+
date: 2007-09-01 00:00:00 -04:00
|
8
8
|
summary: Simple and Flexible Mock Objects for Testing
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -41,22 +41,27 @@ files:
|
|
41
41
|
- lib/flexmock/core.rb
|
42
42
|
- lib/flexmock/core_class_methods.rb
|
43
43
|
- lib/flexmock/default_framework_adapter.rb
|
44
|
+
- lib/flexmock/deprecated_methods.rb
|
44
45
|
- lib/flexmock/expectation.rb
|
45
46
|
- lib/flexmock/expectation_director.rb
|
46
47
|
- lib/flexmock/mock_container.rb
|
47
48
|
- lib/flexmock/noop.rb
|
49
|
+
- lib/flexmock/ordering.rb
|
48
50
|
- lib/flexmock/partial_mock.rb
|
49
51
|
- lib/flexmock/recorder.rb
|
50
52
|
- lib/flexmock/rspec.rb
|
51
53
|
- lib/flexmock/test_unit.rb
|
52
54
|
- lib/flexmock/test_unit_integration.rb
|
53
55
|
- lib/flexmock/validators.rb
|
56
|
+
- test/asserts.rb
|
57
|
+
- test/redirect_error.rb
|
54
58
|
- test/test_container_methods.rb
|
55
59
|
- test/test_default_framework_adapter.rb
|
60
|
+
- test/test_demeter_mocking.rb
|
61
|
+
- test/test_deprecated_methods.rb
|
56
62
|
- test/test_example.rb
|
57
63
|
- test/test_extended_should_receive.rb
|
58
64
|
- test/test_flexmodel.rb
|
59
|
-
- test/test_mock.rb
|
60
65
|
- test/test_naming.rb
|
61
66
|
- test/test_new_instances.rb
|
62
67
|
- test/test_partial_mock.rb
|
@@ -80,6 +85,7 @@ files:
|
|
80
85
|
- doc/releases/flexmock-0.6.2.rdoc
|
81
86
|
- doc/releases/flexmock-0.6.3.rdoc
|
82
87
|
- doc/releases/flexmock-0.6.4.rdoc
|
88
|
+
- doc/releases/flexmock-0.7.0.rdoc
|
83
89
|
test_files: []
|
84
90
|
|
85
91
|
rdoc_options:
|
@@ -103,6 +109,7 @@ extra_rdoc_files:
|
|
103
109
|
- doc/releases/flexmock-0.6.2.rdoc
|
104
110
|
- doc/releases/flexmock-0.6.3.rdoc
|
105
111
|
- doc/releases/flexmock-0.6.4.rdoc
|
112
|
+
- doc/releases/flexmock-0.7.0.rdoc
|
106
113
|
executables: []
|
107
114
|
|
108
115
|
extensions: []
|