dchelimsky-rspec 1.1.99.9 → 1.1.99.13
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 +2 -1
- data/.document +7 -0
- data/History.txt +17 -4
- data/Manifest.txt +12 -2
- data/README.txt +1 -4
- data/Rakefile +1 -12
- data/Upgrade.markdown +62 -0
- data/examples/failing/pending_example.rb +9 -0
- data/features/matchers/create_matcher.feature +115 -0
- data/features/mocks/mix_stubs_and_mocks.feature +22 -0
- data/features/pending/pending_examples.feature +81 -0
- data/features/support/matchers/smart_match.rb +2 -2
- data/lib/spec.rb +1 -1
- data/lib/spec/dsl.rb +3 -1
- data/lib/spec/dsl/matchers.rb +13 -0
- data/lib/spec/example/example_group_methods.rb +6 -1
- data/lib/spec/example/example_methods.rb +5 -6
- data/lib/spec/example/subject.rb +1 -1
- data/lib/spec/expectations/handler.rb +13 -11
- data/lib/spec/matchers.rb +14 -3
- data/lib/spec/matchers/be.rb +2 -2
- data/lib/spec/matchers/be_close.rb +1 -1
- data/lib/spec/matchers/be_instance_of.rb +2 -2
- data/lib/spec/matchers/be_kind_of.rb +2 -2
- data/lib/spec/matchers/change.rb +3 -3
- data/lib/spec/matchers/eql.rb +2 -2
- data/lib/spec/matchers/equal.rb +2 -2
- data/lib/spec/matchers/exist.rb +2 -2
- data/lib/spec/matchers/extensions/instance_exec.rb +25 -0
- data/lib/spec/matchers/has.rb +2 -2
- data/lib/spec/matchers/have.rb +2 -2
- data/lib/spec/matchers/include.rb +2 -2
- data/lib/spec/matchers/match.rb +2 -2
- data/lib/spec/matchers/match_array.rb +2 -2
- data/lib/spec/matchers/matcher.rb +51 -0
- data/lib/spec/matchers/raise_error.rb +2 -2
- data/lib/spec/matchers/respond_to.rb +2 -2
- data/lib/spec/matchers/satisfy.rb +2 -2
- data/lib/spec/matchers/throw_symbol.rb +2 -2
- data/lib/spec/mocks/error_generator.rb +3 -2
- data/lib/spec/mocks/message_expectation.rb +1 -1
- data/lib/spec/mocks/proxy.rb +4 -4
- data/lib/spec/runner/option_parser.rb +1 -1
- data/lib/spec/version.rb +1 -1
- data/rspec.gemspec +6 -6
- data/spec/spec/dsl/matchers_spec.rb +25 -0
- data/spec/spec/example/example_methods_spec.rb +11 -5
- data/spec/spec/example/pending_module_spec.rb +66 -41
- data/spec/spec/{matchers → expectations}/handler_spec.rb +46 -5
- data/spec/spec/interop/test/unit/testcase_spec.rb +0 -4
- data/spec/spec/matchers/be_close_spec.rb +1 -1
- data/spec/spec/matchers/change_spec.rb +12 -0
- data/spec/spec/matchers/eql_spec.rb +2 -2
- data/spec/spec/matchers/equal_spec.rb +2 -2
- data/spec/spec/matchers/have_spec.rb +4 -4
- data/spec/spec/matchers/match_spec.rb +2 -2
- data/spec/spec/matchers/matcher_spec.rb +97 -0
- data/spec/spec/matchers/throw_symbol_spec.rb +8 -8
- data/spec/spec/mocks/mock_spec.rb +2 -2
- data/spec/spec/mocks/stubbed_message_expectations_spec.rb +13 -1
- metadata +16 -10
- data/examples/passing/priority.txt +0 -1
@@ -29,7 +29,7 @@ module Spec
|
|
29
29
|
#when
|
30
30
|
matcher.matches?(5.51)
|
31
31
|
#then
|
32
|
-
matcher.
|
32
|
+
matcher.failure_message_for_should.should == "expected 5.0 +/- (< 0.5), got 5.51"
|
33
33
|
end
|
34
34
|
it "should describe itself" do
|
35
35
|
matcher = be_close(5.0, 0.5)
|
@@ -307,6 +307,18 @@ describe "should change(actual, message).from(old).to(new)" do
|
|
307
307
|
it "should pass when #from comes before #to" do
|
308
308
|
lambda { @instance.some_value = "cat" }.should change(@instance, :some_value).from("string").to("cat")
|
309
309
|
end
|
310
|
+
|
311
|
+
it "should show the correct messaging when #after and #to are different" do
|
312
|
+
lambda do
|
313
|
+
lambda { @instance.some_value = "cat" }.should change(@instance, :some_value).from("string").to("dog")
|
314
|
+
end.should fail_with("some_value should have been changed to \"dog\", but is now \"cat\"")
|
315
|
+
end
|
316
|
+
|
317
|
+
it "should show the correct messaging when #before and #from are different" do
|
318
|
+
lambda do
|
319
|
+
lambda { @instance.some_value = "cat" }.should change(@instance, :some_value).from("not_string").to("cat")
|
320
|
+
end.should fail_with("some_value should have initially been \"not_string\", but was \"string\"")
|
321
|
+
end
|
310
322
|
end
|
311
323
|
|
312
324
|
describe "should change{ block }.from(old).to(new)" do
|
@@ -17,12 +17,12 @@ module Spec
|
|
17
17
|
it "should provide message, expected and actual on #failure_message" do
|
18
18
|
matcher = eql("1")
|
19
19
|
matcher.matches?(1)
|
20
|
-
matcher.
|
20
|
+
matcher.failure_message_for_should.should == ["expected \"1\", got 1 (using .eql?)", "1", 1]
|
21
21
|
end
|
22
22
|
it "should provide message, expected and actual on #negative_failure_message" do
|
23
23
|
matcher = eql(1)
|
24
24
|
matcher.matches?(1)
|
25
|
-
matcher.
|
25
|
+
matcher.failure_message_for_should_not.should == ["expected 1 not to equal 1 (using .eql?)", 1, 1]
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -17,12 +17,12 @@ module Spec
|
|
17
17
|
it "should provide message, expected and actual on #failure_message" do
|
18
18
|
matcher = equal("1")
|
19
19
|
matcher.matches?(1)
|
20
|
-
matcher.
|
20
|
+
matcher.failure_message_for_should.should == ["expected \"1\", got 1 (using .equal?)", "1", 1]
|
21
21
|
end
|
22
22
|
it "should provide message, expected and actual on #negative_failure_message" do
|
23
23
|
matcher = equal(1)
|
24
24
|
matcher.matches?(1)
|
25
|
-
matcher.
|
25
|
+
matcher.failure_message_for_should_not.should == ["expected 1 not to equal 1 (using .equal?)", 1, 1]
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -212,7 +212,7 @@ describe "should have_at_least(n).items" do
|
|
212
212
|
size_matcher.matches?(owner)
|
213
213
|
|
214
214
|
#then
|
215
|
-
length_matcher.
|
215
|
+
length_matcher.failure_message_for_should_not.should == <<-EOF
|
216
216
|
Isn't life confusing enough?
|
217
217
|
Instead of having to figure out the meaning of this:
|
218
218
|
should_not have_at_least(3).items_in_collection_with_length_method
|
@@ -220,7 +220,7 @@ We recommend that you use this instead:
|
|
220
220
|
should have_at_most(2).items_in_collection_with_length_method
|
221
221
|
EOF
|
222
222
|
|
223
|
-
size_matcher.
|
223
|
+
size_matcher.failure_message_for_should_not.should == <<-EOF
|
224
224
|
Isn't life confusing enough?
|
225
225
|
Instead of having to figure out the meaning of this:
|
226
226
|
should_not have_at_least(3).items_in_collection_with_size_method
|
@@ -266,7 +266,7 @@ describe "should have_at_most(n).items" do
|
|
266
266
|
size_matcher.matches?(owner)
|
267
267
|
|
268
268
|
#then
|
269
|
-
length_matcher.
|
269
|
+
length_matcher.failure_message_for_should_not.should == <<-EOF
|
270
270
|
Isn't life confusing enough?
|
271
271
|
Instead of having to figure out the meaning of this:
|
272
272
|
should_not have_at_most(3).items_in_collection_with_length_method
|
@@ -274,7 +274,7 @@ We recommend that you use this instead:
|
|
274
274
|
should have_at_least(4).items_in_collection_with_length_method
|
275
275
|
EOF
|
276
276
|
|
277
|
-
size_matcher.
|
277
|
+
size_matcher.failure_message_for_should_not.should == <<-EOF
|
278
278
|
Isn't life confusing enough?
|
279
279
|
Instead of having to figure out the meaning of this:
|
280
280
|
should_not have_at_most(3).items_in_collection_with_size_method
|
@@ -14,7 +14,7 @@ describe "should match(expected)" do
|
|
14
14
|
it "should provide message, expected and actual on failure" do
|
15
15
|
matcher = match(/rings/)
|
16
16
|
matcher.matches?("string")
|
17
|
-
matcher.
|
17
|
+
matcher.failure_message_for_should.should == ["expected \"string\" to match /rings/", /rings/, "string"]
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
@@ -32,6 +32,6 @@ describe "should_not match(expected)" do
|
|
32
32
|
it "should provide message, expected and actual on failure" do
|
33
33
|
matcher = match(/tri/)
|
34
34
|
matcher.matches?("string")
|
35
|
-
matcher.
|
35
|
+
matcher.failure_message_for_should_not.should == ["expected \"string\" not to match /tri/", /tri/, "string"]
|
36
36
|
end
|
37
37
|
end
|
@@ -0,0 +1,97 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../../spec_helper'
|
2
|
+
|
3
|
+
module Spec
|
4
|
+
module Matchers
|
5
|
+
describe Spec::Matchers::Matcher do
|
6
|
+
context "without overrides" do
|
7
|
+
before(:each) do
|
8
|
+
@matcher = Spec::Matchers::Matcher.new(:be_a_multiple_of, 3) do |multiple|
|
9
|
+
match do |actual|
|
10
|
+
actual % multiple == 0
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
it "provides a default description" do
|
16
|
+
@matcher.matches?(0)
|
17
|
+
@matcher.description.should == "be a multiple of 3"
|
18
|
+
end
|
19
|
+
|
20
|
+
it "provides a default failure message for #should" do
|
21
|
+
@matcher.matches?(8)
|
22
|
+
@matcher.failure_message_for_should.should == "expected 8 to be a multiple of 3"
|
23
|
+
end
|
24
|
+
|
25
|
+
it "provides a default failure message for #should_not" do
|
26
|
+
@matcher.matches?(9)
|
27
|
+
@matcher.failure_message_for_should_not.should == "expected 9 not to be a multiple of 3"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
context "with overrides" do
|
32
|
+
before(:each) do
|
33
|
+
@matcher = Spec::Matchers::Matcher.new(:be_boolean, true) do |boolean|
|
34
|
+
match do |actual|
|
35
|
+
actual
|
36
|
+
end
|
37
|
+
description do
|
38
|
+
"be the boolean #{boolean}"
|
39
|
+
end
|
40
|
+
failure_message_for_should do |actual|
|
41
|
+
"expected #{actual} to be the boolean #{boolean}"
|
42
|
+
end
|
43
|
+
failure_message_for_should_not do |actual|
|
44
|
+
"expected #{actual} not to be the boolean #{boolean}"
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
it "does not hide result of match block when true" do
|
50
|
+
@matcher.matches?(true).should be_true
|
51
|
+
end
|
52
|
+
|
53
|
+
it "does not hide result of match block when false" do
|
54
|
+
@matcher.matches?(false).should be_false
|
55
|
+
end
|
56
|
+
|
57
|
+
it "overrides the description" do
|
58
|
+
@matcher.matches?(true)
|
59
|
+
@matcher.description.should == "be the boolean true"
|
60
|
+
end
|
61
|
+
|
62
|
+
it "overrides the failure message for #should" do
|
63
|
+
@matcher.matches?(false)
|
64
|
+
@matcher.failure_message_for_should.should == "expected false to be the boolean true"
|
65
|
+
end
|
66
|
+
|
67
|
+
it "overrides the failure message for #should_not" do
|
68
|
+
@matcher.matches?(true)
|
69
|
+
@matcher.failure_message_for_should_not.should == "expected true not to be the boolean true"
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
context "#new" do
|
74
|
+
it "passes matches? arg to match block" do
|
75
|
+
matcher = Spec::Matchers::Matcher.new(:ignore) do
|
76
|
+
match do |actual|
|
77
|
+
actual == 5
|
78
|
+
end
|
79
|
+
end
|
80
|
+
matcher.matches?(5).should be_true
|
81
|
+
end
|
82
|
+
|
83
|
+
it "exposes arg submitted through #new to matcher block" do
|
84
|
+
matcher = Spec::Matchers::Matcher.new(:ignore, 4) do |expected|
|
85
|
+
match do |actual|
|
86
|
+
actual > expected
|
87
|
+
end
|
88
|
+
end
|
89
|
+
matcher.matches?(5).should be_true
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
context "matching with overrides" do
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -17,11 +17,11 @@ module Spec
|
|
17
17
|
end
|
18
18
|
it "should provide a failure message" do
|
19
19
|
@matcher.matches?(lambda{})
|
20
|
-
@matcher.
|
20
|
+
@matcher.failure_message_for_should.should == "expected a Symbol but nothing was thrown"
|
21
21
|
end
|
22
22
|
it "should provide a negative failure message" do
|
23
23
|
@matcher.matches?(lambda{ throw :sym})
|
24
|
-
@matcher.
|
24
|
+
@matcher.failure_message_for_should_not.should == "expected no Symbol, got :sym"
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
@@ -42,15 +42,15 @@ module Spec
|
|
42
42
|
end
|
43
43
|
it "should provide a failure message when no Symbol is thrown" do
|
44
44
|
@matcher.matches?(lambda{})
|
45
|
-
@matcher.
|
45
|
+
@matcher.failure_message_for_should.should == "expected :sym but nothing was thrown"
|
46
46
|
end
|
47
47
|
it "should provide a failure message when wrong Symbol is thrown" do
|
48
48
|
@matcher.matches?(lambda{ throw :other_sym })
|
49
|
-
@matcher.
|
49
|
+
@matcher.failure_message_for_should.should == "expected :sym, got :other_sym"
|
50
50
|
end
|
51
51
|
it "should provide a negative failure message" do
|
52
52
|
@matcher.matches?(lambda{ throw :sym })
|
53
|
-
@matcher.
|
53
|
+
@matcher.failure_message_for_should_not.should == "expected :sym not to be thrown"
|
54
54
|
end
|
55
55
|
it "should only match NameErrors raised by uncaught throws" do
|
56
56
|
@matcher.matches?(lambda{ sym }).should be_false
|
@@ -77,15 +77,15 @@ module Spec
|
|
77
77
|
end
|
78
78
|
it "should provide a failure message when no Symbol is thrown" do
|
79
79
|
@matcher.matches?(lambda{})
|
80
|
-
@matcher.
|
80
|
+
@matcher.failure_message_for_should.should == %q[expected :sym with "a" but nothing was thrown]
|
81
81
|
end
|
82
82
|
it "should provide a failure message when wrong Symbol is thrown" do
|
83
83
|
@matcher.matches?(lambda{ throw :other_sym })
|
84
|
-
@matcher.
|
84
|
+
@matcher.failure_message_for_should.should == %q[expected :sym with "a", got :other_sym]
|
85
85
|
end
|
86
86
|
it "should provide a negative failure message" do
|
87
87
|
@matcher.matches?(lambda{ throw :sym })
|
88
|
-
@matcher.
|
88
|
+
@matcher.failure_message_for_should_not.should == %q[expected :sym with "a" not to be thrown]
|
89
89
|
end
|
90
90
|
it "should only match NameErrors raised by uncaught throws" do
|
91
91
|
@matcher.matches?(lambda{ sym }).should be_false
|
@@ -115,7 +115,7 @@ module Spec
|
|
115
115
|
lambda {
|
116
116
|
@mock.something("a","d","c")
|
117
117
|
@mock.rspec_verify
|
118
|
-
}.should raise_error(MockExpectationError, "Mock 'test mock' expected :something with (\"a\", \"b\", \"c\") but received it with (\"a\", \"d\", \"c\")")
|
118
|
+
}.should raise_error(MockExpectationError, "Mock 'test mock' expected :something with (\"a\", \"b\", \"c\") but received it with ([\"a\", \"d\", \"c\"])")
|
119
119
|
end
|
120
120
|
|
121
121
|
it "should raise exception if args don't match when method called even when using null_object" do
|
@@ -124,7 +124,7 @@ module Spec
|
|
124
124
|
lambda {
|
125
125
|
@mock.something("a","d","c")
|
126
126
|
@mock.rspec_verify
|
127
|
-
}.should raise_error(MockExpectationError, "Mock 'test mock' expected :something with (\"a\", \"b\", \"c\") but received it with (\"a\", \"d\", \"c\")")
|
127
|
+
}.should raise_error(MockExpectationError, "Mock 'test mock' expected :something with (\"a\", \"b\", \"c\") but received it with ([\"a\", \"d\", \"c\"])")
|
128
128
|
end
|
129
129
|
|
130
130
|
it "should fail if unexpected method called" do
|
@@ -3,12 +3,24 @@ require File.dirname(__FILE__) + '/../../spec_helper.rb'
|
|
3
3
|
module Spec
|
4
4
|
module Mocks
|
5
5
|
describe "Example with stubbed and then called message" do
|
6
|
-
it "
|
6
|
+
it "fails if the message is expected and then subsequently not called again" do
|
7
7
|
mock_obj = mock("mock", :msg => nil)
|
8
8
|
mock_obj.msg
|
9
9
|
mock_obj.should_receive(:msg)
|
10
10
|
lambda { mock_obj.rspec_verify }.should raise_error(Spec::Mocks::MockExpectationError)
|
11
11
|
end
|
12
|
+
|
13
|
+
it "outputs arguments of all similar calls" do
|
14
|
+
m = mock('mock', :foo => true)
|
15
|
+
m.should_receive(:foo).with('first')
|
16
|
+
m.foo('second')
|
17
|
+
m.foo('third')
|
18
|
+
lambda do
|
19
|
+
m.rspec_verify
|
20
|
+
end.should raise_error(%q|Mock 'mock' expected :foo with ("first") but received it with (["second"], ["third"])|)
|
21
|
+
m.rspec_reset
|
22
|
+
end
|
12
23
|
end
|
24
|
+
|
13
25
|
end
|
14
26
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dchelimsky-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.99.
|
4
|
+
version: 1.1.99.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RSpec Development Team
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-03-09 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.9.0
|
34
34
|
version:
|
35
35
|
description: Behaviour Driven Development for Ruby.
|
36
36
|
email:
|
@@ -47,12 +47,9 @@ extra_rdoc_files:
|
|
47
47
|
- README.txt
|
48
48
|
- TODO.txt
|
49
49
|
- examples/failing/README.txt
|
50
|
-
- examples/passing/priority.txt
|
51
|
-
- spec/spec/runner/empty_file.txt
|
52
|
-
- spec/spec/runner/examples.txt
|
53
|
-
- spec/spec/runner/failed.txt
|
54
50
|
files:
|
55
51
|
- .autotest
|
52
|
+
- .document
|
56
53
|
- History.txt
|
57
54
|
- License.txt
|
58
55
|
- Manifest.txt
|
@@ -60,6 +57,7 @@ files:
|
|
60
57
|
- Rakefile
|
61
58
|
- Ruby1.9.markdown
|
62
59
|
- TODO.txt
|
60
|
+
- Upgrade.markdown
|
63
61
|
- bin/autospec
|
64
62
|
- bin/spec
|
65
63
|
- cucumber.yml
|
@@ -73,6 +71,7 @@ files:
|
|
73
71
|
- examples/failing/mocking_with_mocha.rb
|
74
72
|
- examples/failing/mocking_with_rr.rb
|
75
73
|
- examples/failing/partial_mock_example.rb
|
74
|
+
- examples/failing/pending_example.rb
|
76
75
|
- examples/failing/predicate_example.rb
|
77
76
|
- examples/failing/raising_example.rb
|
78
77
|
- examples/failing/spec_helper.rb
|
@@ -99,7 +98,6 @@ files:
|
|
99
98
|
- examples/passing/partial_mock_example.rb
|
100
99
|
- examples/passing/pending_example.rb
|
101
100
|
- examples/passing/predicate_example.rb
|
102
|
-
- examples/passing/priority.txt
|
103
101
|
- examples/passing/shared_example_group_example.rb
|
104
102
|
- examples/passing/shared_stack_examples.rb
|
105
103
|
- examples/passing/simple_matcher_example.rb
|
@@ -120,9 +118,12 @@ files:
|
|
120
118
|
- features/interop/examples_and_tests_together.feature
|
121
119
|
- features/interop/test_but_not_test_unit.feature
|
122
120
|
- features/interop/test_case_with_should_methods.feature
|
121
|
+
- features/matchers/create_matcher.feature
|
123
122
|
- features/mock_framework_integration/use_flexmock.feature
|
124
123
|
- features/mock_framework_integration/use_mocha.feature
|
125
124
|
- features/mock_framework_integration/use_rr.feature
|
125
|
+
- features/mocks/mix_stubs_and_mocks.feature
|
126
|
+
- features/pending/pending_examples.feature
|
126
127
|
- features/step_definitions/running_rspec.rb
|
127
128
|
- features/support/env.rb
|
128
129
|
- features/support/matchers/smart_match.rb
|
@@ -137,6 +138,7 @@ files:
|
|
137
138
|
- lib/spec/autorun.rb
|
138
139
|
- lib/spec/dsl.rb
|
139
140
|
- lib/spec/dsl/main.rb
|
141
|
+
- lib/spec/dsl/matchers.rb
|
140
142
|
- lib/spec/example.rb
|
141
143
|
- lib/spec/example/before_and_after_hooks.rb
|
142
144
|
- lib/spec/example/errors.rb
|
@@ -174,12 +176,14 @@ files:
|
|
174
176
|
- lib/spec/matchers/equal.rb
|
175
177
|
- lib/spec/matchers/errors.rb
|
176
178
|
- lib/spec/matchers/exist.rb
|
179
|
+
- lib/spec/matchers/extensions/instance_exec.rb
|
177
180
|
- lib/spec/matchers/generated_descriptions.rb
|
178
181
|
- lib/spec/matchers/has.rb
|
179
182
|
- lib/spec/matchers/have.rb
|
180
183
|
- lib/spec/matchers/include.rb
|
181
184
|
- lib/spec/matchers/match.rb
|
182
185
|
- lib/spec/matchers/match_array.rb
|
186
|
+
- lib/spec/matchers/matcher.rb
|
183
187
|
- lib/spec/matchers/method_missing.rb
|
184
188
|
- lib/spec/matchers/operator_matcher.rb
|
185
189
|
- lib/spec/matchers/raise_error.rb
|
@@ -253,6 +257,7 @@ files:
|
|
253
257
|
- spec/ruby_forker.rb
|
254
258
|
- spec/spec.opts
|
255
259
|
- spec/spec/dsl/main_spec.rb
|
260
|
+
- spec/spec/dsl/matchers_spec.rb
|
256
261
|
- spec/spec/example/example_group_class_definition_spec.rb
|
257
262
|
- spec/spec/example/example_group_factory_spec.rb
|
258
263
|
- spec/spec/example/example_group_methods_spec.rb
|
@@ -268,6 +273,7 @@ files:
|
|
268
273
|
- spec/spec/expectations/differs/default_spec.rb
|
269
274
|
- spec/spec/expectations/extensions/object_spec.rb
|
270
275
|
- spec/spec/expectations/fail_with_spec.rb
|
276
|
+
- spec/spec/expectations/handler_spec.rb
|
271
277
|
- spec/spec/expectations/wrap_expectation_spec.rb
|
272
278
|
- spec/spec/interop/test/unit/resources/spec_that_fails.rb
|
273
279
|
- spec/spec/interop/test/unit/resources/spec_that_passes.rb
|
@@ -290,13 +296,13 @@ files:
|
|
290
296
|
- spec/spec/matchers/eql_spec.rb
|
291
297
|
- spec/spec/matchers/equal_spec.rb
|
292
298
|
- spec/spec/matchers/exist_spec.rb
|
293
|
-
- spec/spec/matchers/handler_spec.rb
|
294
299
|
- spec/spec/matchers/has_spec.rb
|
295
300
|
- spec/spec/matchers/have_spec.rb
|
296
301
|
- spec/spec/matchers/include_spec.rb
|
297
302
|
- spec/spec/matchers/match_array_spec.rb
|
298
303
|
- spec/spec/matchers/match_spec.rb
|
299
304
|
- spec/spec/matchers/matcher_methods_spec.rb
|
305
|
+
- spec/spec/matchers/matcher_spec.rb
|
300
306
|
- spec/spec/matchers/operator_matcher_spec.rb
|
301
307
|
- spec/spec/matchers/raise_error_spec.rb
|
302
308
|
- spec/spec/matchers/respond_to_spec.rb
|
@@ -416,6 +422,6 @@ rubyforge_project: rspec
|
|
416
422
|
rubygems_version: 1.2.0
|
417
423
|
signing_key:
|
418
424
|
specification_version: 2
|
419
|
-
summary: rspec 1.1.99.
|
425
|
+
summary: rspec 1.1.99.13
|
420
426
|
test_files: []
|
421
427
|
|