rspec-mocks 2.0.0.beta.4 → 2.0.0.beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.autotest +3 -2
- data/VERSION +1 -1
- data/features/mocks/block_local_expectations.feature +0 -14
- data/features/mocks/mix_stubs_and_mocks.feature +2 -2
- data/features/mocks/warn_when_expectation_is_set_on_nil.feature +50 -0
- data/lib/rspec/mocks.rb +9 -9
- data/lib/rspec/mocks/argument_matchers.rb +1 -1
- data/lib/rspec/mocks/error_generator.rb +24 -8
- data/lib/rspec/mocks/framework.rb +1 -0
- data/lib/rspec/mocks/message_expectation.rb +1 -1
- data/lib/rspec/mocks/method_double.rb +156 -0
- data/lib/rspec/mocks/methods.rb +2 -2
- data/lib/rspec/mocks/mock.rb +17 -10
- data/lib/rspec/mocks/proxy.rb +71 -158
- data/lib/rspec/mocks/spec_methods.rb +19 -3
- data/rspec-mocks.gemspec +14 -10
- data/spec/rspec/mocks/any_number_of_times_spec.rb +1 -1
- data/spec/rspec/mocks/argument_expectation_spec.rb +2 -2
- data/spec/rspec/mocks/bug_report_10260_spec.rb +1 -1
- data/spec/rspec/mocks/bug_report_10263_spec.rb +8 -8
- data/spec/rspec/mocks/bug_report_15719_spec.rb +12 -12
- data/spec/rspec/mocks/bug_report_7611_spec.rb +1 -1
- data/spec/rspec/mocks/bug_report_7805_spec.rb +1 -1
- data/spec/rspec/mocks/bug_report_8165_spec.rb +1 -1
- data/spec/rspec/mocks/bug_report_957_spec.rb +1 -1
- data/spec/rspec/mocks/double_spec.rb +12 -0
- data/spec/rspec/mocks/failing_argument_matchers_spec.rb +7 -6
- data/spec/rspec/mocks/mock_ordering_spec.rb +54 -54
- data/spec/rspec/mocks/mock_space_spec.rb +4 -4
- data/spec/rspec/mocks/mock_spec.rb +55 -51
- data/spec/rspec/mocks/multiple_return_value_spec.rb +29 -7
- data/spec/rspec/mocks/nil_expectation_warning_spec.rb +8 -8
- data/spec/rspec/mocks/null_object_mock_spec.rb +2 -2
- data/spec/rspec/mocks/once_counts_spec.rb +1 -1
- data/spec/rspec/mocks/options_hash_spec.rb +1 -1
- data/spec/rspec/mocks/partial_mock_spec.rb +13 -7
- data/spec/rspec/mocks/passing_argument_matchers_spec.rb +1 -1
- data/spec/rspec/mocks/precise_counts_spec.rb +1 -1
- data/spec/rspec/mocks/record_messages_spec.rb +1 -1
- data/spec/rspec/mocks/stub_spec.rb +22 -22
- data/spec/rspec/mocks/stubbed_message_expectations_spec.rb +12 -12
- data/spec/rspec/mocks/twice_counts_spec.rb +1 -1
- metadata +13 -9
@@ -20,7 +20,10 @@ module Rspec
|
|
20
20
|
third = Object.new
|
21
21
|
@mock.message.should == @return_values[0]
|
22
22
|
@mock.message.should == @return_values[1]
|
23
|
-
|
23
|
+
expect { @mock.rspec_verify }.to raise_error(
|
24
|
+
Rspec::Mocks::MockExpectationError,
|
25
|
+
%Q|(Mock "mock").message(any args)\n expected: 3 times\n received: 2 times|
|
26
|
+
)
|
24
27
|
end
|
25
28
|
|
26
29
|
it "should complain when there are too many calls" do
|
@@ -29,7 +32,10 @@ module Rspec
|
|
29
32
|
@mock.message.should == @return_values[1]
|
30
33
|
@mock.message.should == @return_values[2]
|
31
34
|
@mock.message.should == @return_values[2]
|
32
|
-
|
35
|
+
expect { @mock.rspec_verify }.to raise_error(
|
36
|
+
Rspec::Mocks::MockExpectationError,
|
37
|
+
%Q|(Mock "mock").message(any args)\n expected: 3 times\n received: 4 times|
|
38
|
+
)
|
33
39
|
end
|
34
40
|
end
|
35
41
|
|
@@ -51,7 +57,10 @@ module Rspec
|
|
51
57
|
third = Object.new
|
52
58
|
@mock.message.should == @return_values[0]
|
53
59
|
@mock.message.should == @return_values[1]
|
54
|
-
|
60
|
+
expect { @mock.rspec_verify }.to raise_error(
|
61
|
+
Rspec::Mocks::MockExpectationError,
|
62
|
+
%Q|(Mock "mock").message(any args)\n expected: 3 times\n received: 2 times|
|
63
|
+
)
|
55
64
|
end
|
56
65
|
|
57
66
|
it "should complain when there are too many calls" do
|
@@ -60,7 +69,10 @@ module Rspec
|
|
60
69
|
@mock.message.should == @return_values[1]
|
61
70
|
@mock.message.should == @return_values[2]
|
62
71
|
@mock.message.should == @return_values[2]
|
63
|
-
|
72
|
+
expect { @mock.rspec_verify }.to raise_error(
|
73
|
+
Rspec::Mocks::MockExpectationError,
|
74
|
+
%Q|(Mock "mock").message(any args)\n expected: 3 times\n received: 4 times|
|
75
|
+
)
|
64
76
|
end
|
65
77
|
end
|
66
78
|
|
@@ -79,9 +91,13 @@ module Rspec
|
|
79
91
|
|
80
92
|
it "should fail when called less than the specified number" do
|
81
93
|
@mock.message.should equal(11)
|
82
|
-
|
94
|
+
expect { @mock.rspec_verify }.to raise_error(
|
95
|
+
Rspec::Mocks::MockExpectationError,
|
96
|
+
%Q|(Mock "mock").message(no args)\n expected: 2 times\n received: 1 time|
|
97
|
+
)
|
83
98
|
end
|
84
99
|
end
|
100
|
+
|
85
101
|
describe "a Mock expectation with multiple return values with a specified count larger than the number of values" do
|
86
102
|
before(:each) do
|
87
103
|
@mock = Rspec::Mocks::Mock.new("mock")
|
@@ -97,7 +113,10 @@ module Rspec
|
|
97
113
|
|
98
114
|
it "should fail when called less than the specified number" do
|
99
115
|
@mock.message.should equal(11)
|
100
|
-
|
116
|
+
expect { @mock.rspec_verify }.to raise_error(
|
117
|
+
Rspec::Mocks::MockExpectationError,
|
118
|
+
%Q|(Mock "mock").message(any args)\n expected: 3 times\n received: 1 time|
|
119
|
+
)
|
101
120
|
end
|
102
121
|
|
103
122
|
it "should fail when called greater than the specified number" do
|
@@ -105,7 +124,10 @@ module Rspec
|
|
105
124
|
@mock.message.should equal(22)
|
106
125
|
@mock.message.should equal(22)
|
107
126
|
@mock.message.should equal(22)
|
108
|
-
|
127
|
+
expect { @mock.rspec_verify }.to raise_error(
|
128
|
+
Rspec::Mocks::MockExpectationError,
|
129
|
+
%Q|(Mock "mock").message(any args)\n expected: 3 times\n received: 4 times|
|
130
|
+
)
|
109
131
|
end
|
110
132
|
end
|
111
133
|
end
|
@@ -1,13 +1,13 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
3
|
+
def remove_last_describe_from_world
|
4
|
+
Rspec::Core.world.example_groups.pop
|
5
|
+
end
|
6
|
+
|
7
|
+
def empty_example_group
|
8
|
+
group = Rspec::Core::ExampleGroup.describe(Object, 'Empty Behaviour Group') { }
|
9
|
+
remove_last_describe_from_world
|
10
|
+
end
|
11
11
|
|
12
12
|
module Rspec
|
13
13
|
module Mocks
|
@@ -39,14 +39,14 @@ module Rspec
|
|
39
39
|
|
40
40
|
describe "#null_object?" do
|
41
41
|
it "should default to false" do
|
42
|
-
obj =
|
42
|
+
obj = double('anything')
|
43
43
|
obj.should_not be_null_object
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
47
|
describe "#as_null_object" do
|
48
48
|
it "should set the object to null_object" do
|
49
|
-
obj =
|
49
|
+
obj = double('anything').as_null_object
|
50
50
|
obj.should be_null_object
|
51
51
|
end
|
52
52
|
end
|
@@ -25,7 +25,7 @@ module Rspec
|
|
25
25
|
it "should use the message supplied with :message after a similar stub" do
|
26
26
|
lambda {
|
27
27
|
m = Rspec::Mocks::Mock.new("a mock")
|
28
|
-
m.stub
|
28
|
+
m.stub(:message)
|
29
29
|
m.should_receive(:message, :message => "from mock")
|
30
30
|
m.rspec_verify
|
31
31
|
}.should raise_error("from mock")
|
@@ -9,9 +9,9 @@ module Rspec
|
|
9
9
|
|
10
10
|
it "should name the class in the failure message" do
|
11
11
|
@object.should_receive(:foo)
|
12
|
-
|
12
|
+
expect do
|
13
13
|
@object.rspec_verify
|
14
|
-
end.
|
14
|
+
end.to raise_error(Rspec::Mocks::MockExpectationError, /\(#<Object:.*>\).foo/)
|
15
15
|
end
|
16
16
|
|
17
17
|
it "should name the class in the failure message when expectation is on class" do
|
@@ -29,9 +29,12 @@ module Rspec
|
|
29
29
|
|
30
30
|
it "should_not_receive should mock out the method" do
|
31
31
|
@object.should_not_receive(:fuhbar)
|
32
|
-
|
32
|
+
expect {
|
33
33
|
@object.fuhbar
|
34
|
-
|
34
|
+
}.to raise_error(
|
35
|
+
Rspec::Mocks::MockExpectationError,
|
36
|
+
/expected\: 0 times\n received\: 1 time/
|
37
|
+
)
|
35
38
|
end
|
36
39
|
|
37
40
|
it "should_not_receive should return a negative message expectation" do
|
@@ -82,9 +85,12 @@ module Rspec
|
|
82
85
|
allow_message_expectations_on_nil
|
83
86
|
|
84
87
|
@this_will_resolve_to_nil.should_receive(:foobar)
|
85
|
-
|
88
|
+
expect {
|
86
89
|
@this_will_resolve_to_nil.rspec_verify
|
87
|
-
|
90
|
+
}.to raise_error(
|
91
|
+
Rspec::Mocks::MockExpectationError,
|
92
|
+
%Q|(nil).foobar(any args)\n expected: 1 time\n received: 0 times|
|
93
|
+
)
|
88
94
|
end
|
89
95
|
end
|
90
96
|
|
@@ -106,7 +112,7 @@ module Rspec
|
|
106
112
|
|
107
113
|
it "should not raise an error when stubbing the object" do
|
108
114
|
o = PartiallyMockedEquals.new :foo
|
109
|
-
lambda { o.stub
|
115
|
+
lambda { o.stub(:bar) }.should_not raise_error(NoMethodError)
|
110
116
|
end
|
111
117
|
end
|
112
118
|
|
@@ -4,7 +4,7 @@ module Rspec
|
|
4
4
|
module Mocks
|
5
5
|
describe "a mock" do
|
6
6
|
before(:each) do
|
7
|
-
@mock =
|
7
|
+
@mock = double("mock", :null_object => true)
|
8
8
|
end
|
9
9
|
it "should answer false for received_message? when no messages received" do
|
10
10
|
@mock.received_message?(:message).should be_false
|
@@ -28,7 +28,7 @@ module Rspec
|
|
28
28
|
end
|
29
29
|
|
30
30
|
it "should ignore when expected message is received" do
|
31
|
-
@instance.stub
|
31
|
+
@instance.stub(:msg)
|
32
32
|
@instance.msg
|
33
33
|
lambda do
|
34
34
|
@instance.rspec_verify
|
@@ -36,7 +36,7 @@ module Rspec
|
|
36
36
|
end
|
37
37
|
|
38
38
|
it "should ignore when message is received with args" do
|
39
|
-
@instance.stub
|
39
|
+
@instance.stub(:msg)
|
40
40
|
@instance.msg(:an_arg)
|
41
41
|
lambda do
|
42
42
|
@instance.rspec_verify
|
@@ -44,20 +44,20 @@ module Rspec
|
|
44
44
|
end
|
45
45
|
|
46
46
|
it "should ignore when expected message is not received" do
|
47
|
-
@instance.stub
|
47
|
+
@instance.stub(:msg)
|
48
48
|
lambda do
|
49
49
|
@instance.rspec_verify
|
50
50
|
end.should_not raise_error
|
51
51
|
end
|
52
52
|
|
53
53
|
it "should handle multiple stubbed methods" do
|
54
|
-
@instance.stub
|
54
|
+
@instance.stub(:msg1 => 1, :msg2 => 2)
|
55
55
|
@instance.msg1.should == 1
|
56
56
|
@instance.msg2.should == 2
|
57
57
|
end
|
58
58
|
|
59
59
|
it "should clear itself when verified" do
|
60
|
-
@instance.stub
|
60
|
+
@instance.stub(:this_should_go).and_return(:blah)
|
61
61
|
@instance.this_should_go.should == :blah
|
62
62
|
@instance.rspec_verify
|
63
63
|
lambda do
|
@@ -67,7 +67,7 @@ module Rspec
|
|
67
67
|
|
68
68
|
it "should return values in order to consecutive calls" do
|
69
69
|
return_values = ["1",2,Object.new]
|
70
|
-
@instance.stub
|
70
|
+
@instance.stub(:msg).and_return(return_values[0],return_values[1],return_values[2])
|
71
71
|
@instance.msg.should == return_values[0]
|
72
72
|
@instance.msg.should == return_values[1]
|
73
73
|
@instance.msg.should == return_values[2]
|
@@ -75,7 +75,7 @@ module Rspec
|
|
75
75
|
|
76
76
|
it "should keep returning last value in consecutive calls" do
|
77
77
|
return_values = ["1",2,Object.new]
|
78
|
-
@instance.stub
|
78
|
+
@instance.stub(:msg).and_return(return_values[0],return_values[1],return_values[2])
|
79
79
|
@instance.msg.should == return_values[0]
|
80
80
|
@instance.msg.should == return_values[1]
|
81
81
|
@instance.msg.should == return_values[2]
|
@@ -85,7 +85,7 @@ module Rspec
|
|
85
85
|
|
86
86
|
it "should revert to original instance method if there is one" do
|
87
87
|
@instance.existing_instance_method.should equal(:original_value)
|
88
|
-
@instance.stub
|
88
|
+
@instance.stub(:existing_instance_method).and_return(:mock_value)
|
89
89
|
@instance.existing_instance_method.should equal(:mock_value)
|
90
90
|
@instance.rspec_verify
|
91
91
|
@instance.existing_instance_method.should equal(:original_value)
|
@@ -93,14 +93,14 @@ module Rspec
|
|
93
93
|
|
94
94
|
it "should revert to original class method if there is one" do
|
95
95
|
@class.existing_class_method.should equal(:original_value)
|
96
|
-
@class.stub
|
96
|
+
@class.stub(:existing_class_method).and_return(:mock_value)
|
97
97
|
@class.existing_class_method.should equal(:mock_value)
|
98
98
|
@class.rspec_verify
|
99
99
|
@class.existing_class_method.should equal(:original_value)
|
100
100
|
end
|
101
101
|
|
102
102
|
it "should yield a specified object" do
|
103
|
-
@instance.stub
|
103
|
+
@instance.stub(:method_that_yields).and_yield(:yielded_obj)
|
104
104
|
current_value = :value_before
|
105
105
|
@instance.method_that_yields {|val| current_value = val}
|
106
106
|
current_value.should == :yielded_obj
|
@@ -108,7 +108,7 @@ module Rspec
|
|
108
108
|
end
|
109
109
|
|
110
110
|
it "should yield multiple times with multiple calls to and_yield" do
|
111
|
-
@instance.stub
|
111
|
+
@instance.stub(:method_that_yields_multiple_times).and_yield(:yielded_value).
|
112
112
|
and_yield(:another_value)
|
113
113
|
current_value = []
|
114
114
|
@instance.method_that_yields_multiple_times {|val| current_value << val}
|
@@ -117,42 +117,42 @@ module Rspec
|
|
117
117
|
end
|
118
118
|
|
119
119
|
it "should yield a specified object and return another specified object" do
|
120
|
-
yielded_obj =
|
120
|
+
yielded_obj = double("my mock")
|
121
121
|
yielded_obj.should_receive(:foo).with(:bar)
|
122
|
-
@instance.stub
|
122
|
+
@instance.stub(:method_that_yields_and_returns).and_yield(yielded_obj).and_return(:baz)
|
123
123
|
@instance.method_that_yields_and_returns { |o| o.foo :bar }.should == :baz
|
124
124
|
end
|
125
125
|
|
126
126
|
it "should throw when told to" do
|
127
|
-
@
|
127
|
+
@stub.stub(:something).and_throw(:up)
|
128
128
|
lambda do
|
129
|
-
@
|
129
|
+
@stub.something
|
130
130
|
end.should throw_symbol(:up)
|
131
131
|
end
|
132
132
|
|
133
133
|
it "should override a pre-existing stub" do
|
134
|
-
@stub.stub
|
134
|
+
@stub.stub(:existing_instance_method).and_return(:updated_stub_value)
|
135
135
|
@stub.existing_instance_method.should == :updated_stub_value
|
136
136
|
end
|
137
137
|
|
138
138
|
it "should limit " do
|
139
|
-
@stub.stub
|
139
|
+
@stub.stub(:foo).with("bar")
|
140
140
|
@stub.should_receive(:foo).with("baz")
|
141
141
|
@stub.foo("bar")
|
142
142
|
@stub.foo("baz")
|
143
143
|
end
|
144
144
|
|
145
145
|
it "calculates return value by executing block passed to #and_return" do
|
146
|
-
@
|
147
|
-
@
|
148
|
-
@
|
146
|
+
@stub.stub(:something).with("a","b","c").and_return { |a,b,c| c+b+a }
|
147
|
+
@stub.something("a","b","c").should == "cba"
|
148
|
+
@stub.rspec_verify
|
149
149
|
end
|
150
150
|
end
|
151
151
|
|
152
152
|
describe "A method stub with args" do
|
153
153
|
before(:each) do
|
154
154
|
@stub = Object.new
|
155
|
-
@stub.stub
|
155
|
+
@stub.stub(:foo).with("bar")
|
156
156
|
end
|
157
157
|
|
158
158
|
it "should not complain if not called" do
|
@@ -190,7 +190,7 @@ module Rspec
|
|
190
190
|
end
|
191
191
|
|
192
192
|
it "should support options" do
|
193
|
-
@stub.stub
|
193
|
+
@stub.stub(:foo, :expected_from => "bar")
|
194
194
|
end
|
195
195
|
end
|
196
196
|
|
@@ -4,23 +4,23 @@ module Rspec
|
|
4
4
|
module Mocks
|
5
5
|
describe "Example with stubbed and then called message" do
|
6
6
|
it "fails if the message is expected and then subsequently not called again" do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
lambda {
|
7
|
+
double = double("mock", :msg => nil)
|
8
|
+
double.msg
|
9
|
+
double.should_receive(:msg)
|
10
|
+
lambda { double.rspec_verify }.should raise_error(Rspec::Mocks::MockExpectationError)
|
11
11
|
end
|
12
12
|
|
13
13
|
it "outputs arguments of all similar calls" do
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
double = double('double', :foo => true)
|
15
|
+
double.should_receive(:foo).with('first')
|
16
|
+
double.foo('second')
|
17
|
+
double.foo('third')
|
18
18
|
lambda do
|
19
|
-
|
20
|
-
end.should raise_error(%
|
21
|
-
|
19
|
+
double.rspec_verify
|
20
|
+
end.should raise_error(%Q|Double "double" received :foo with unexpected arguments\n expected: ("first")\n got: ("second"), ("third")|)
|
21
|
+
double.rspec_reset
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
25
|
end
|
26
|
-
end
|
26
|
+
end
|
metadata
CHANGED
@@ -7,8 +7,8 @@ version: !ruby/object:Gem::Version
|
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- beta
|
10
|
-
-
|
11
|
-
version: 2.0.0.beta.
|
10
|
+
- 5
|
11
|
+
version: 2.0.0.beta.5
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- David Chelimsky
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2010-
|
20
|
+
date: 2010-04-04 00:00:00 -03:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
@@ -32,8 +32,8 @@ dependencies:
|
|
32
32
|
- 0
|
33
33
|
- 0
|
34
34
|
- beta
|
35
|
-
-
|
36
|
-
version: 2.0.0.beta.
|
35
|
+
- 5
|
36
|
+
version: 2.0.0.beta.5
|
37
37
|
type: :development
|
38
38
|
version_requirements: *id001
|
39
39
|
- !ruby/object:Gem::Dependency
|
@@ -48,8 +48,8 @@ dependencies:
|
|
48
48
|
- 0
|
49
49
|
- 0
|
50
50
|
- beta
|
51
|
-
-
|
52
|
-
version: 2.0.0.beta.
|
51
|
+
- 5
|
52
|
+
version: 2.0.0.beta.5
|
53
53
|
type: :development
|
54
54
|
version_requirements: *id002
|
55
55
|
description: Rspec's 'test double' framework, with support for stubbing and mocking
|
@@ -72,6 +72,7 @@ files:
|
|
72
72
|
- cucumber.yml
|
73
73
|
- features/mocks/block_local_expectations.feature
|
74
74
|
- features/mocks/mix_stubs_and_mocks.feature
|
75
|
+
- features/mocks/warn_when_expectation_is_set_on_nil.feature
|
75
76
|
- features/stubs/stub_implementation.feature
|
76
77
|
- features/support/env.rb
|
77
78
|
- lib/rspec/mocks.rb
|
@@ -84,6 +85,7 @@ files:
|
|
84
85
|
- lib/rspec/mocks/extensions/object.rb
|
85
86
|
- lib/rspec/mocks/framework.rb
|
86
87
|
- lib/rspec/mocks/message_expectation.rb
|
88
|
+
- lib/rspec/mocks/method_double.rb
|
87
89
|
- lib/rspec/mocks/methods.rb
|
88
90
|
- lib/rspec/mocks/mock.rb
|
89
91
|
- lib/rspec/mocks/order_group.rb
|
@@ -111,6 +113,7 @@ files:
|
|
111
113
|
- spec/rspec/mocks/bug_report_8302_spec.rb
|
112
114
|
- spec/rspec/mocks/bug_report_830_spec.rb
|
113
115
|
- spec/rspec/mocks/bug_report_957_spec.rb
|
116
|
+
- spec/rspec/mocks/double_spec.rb
|
114
117
|
- spec/rspec/mocks/failing_argument_matchers_spec.rb
|
115
118
|
- spec/rspec/mocks/hash_including_matcher_spec.rb
|
116
119
|
- spec/rspec/mocks/hash_not_including_matcher_spec.rb
|
@@ -142,7 +145,7 @@ licenses: []
|
|
142
145
|
post_install_message: |
|
143
146
|
**************************************************
|
144
147
|
|
145
|
-
Thank you for installing rspec-mocks-2.0.0.beta.
|
148
|
+
Thank you for installing rspec-mocks-2.0.0.beta.5
|
146
149
|
|
147
150
|
This is beta software. If you are looking
|
148
151
|
for a supported production release, please
|
@@ -176,7 +179,7 @@ rubyforge_project: rspec
|
|
176
179
|
rubygems_version: 1.3.6
|
177
180
|
signing_key:
|
178
181
|
specification_version: 3
|
179
|
-
summary: rspec-mocks-2.0.0.beta.
|
182
|
+
summary: rspec-mocks-2.0.0.beta.5
|
180
183
|
test_files:
|
181
184
|
- spec/rspec/mocks/and_yield_spec.rb
|
182
185
|
- spec/rspec/mocks/any_number_of_times_spec.rb
|
@@ -196,6 +199,7 @@ test_files:
|
|
196
199
|
- spec/rspec/mocks/bug_report_8302_spec.rb
|
197
200
|
- spec/rspec/mocks/bug_report_830_spec.rb
|
198
201
|
- spec/rspec/mocks/bug_report_957_spec.rb
|
202
|
+
- spec/rspec/mocks/double_spec.rb
|
199
203
|
- spec/rspec/mocks/failing_argument_matchers_spec.rb
|
200
204
|
- spec/rspec/mocks/hash_including_matcher_spec.rb
|
201
205
|
- spec/rspec/mocks/hash_not_including_matcher_spec.rb
|