rspec 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +5 -0
- data/.gitignore +15 -0
- data/Gemfile +20 -0
- data/History.rdoc +14 -0
- data/README.rdoc +8 -5
- data/Rakefile +8 -47
- data/example_spec.rb +4 -0
- data/features-pending/cli/conditional_exclusion.feature +39 -0
- data/features-pending/heckle/heckle.feature +56 -0
- data/features/formatters/custom_formatter.feature +1 -1
- data/features/matchers/define_matcher_outside_rspec.feature +0 -1
- data/features/matchers/match_unless_raises.feature +2 -2
- data/features/matchers/match_unless_raises_unexpected_error.feature +2 -2
- data/features/support/env.rb +3 -3
- data/lib/spec/mocks/message_expectation.rb +1 -1
- data/lib/spec/mocks/proxy.rb +31 -45
- data/lib/spec/runner/heckle_runner.rb +7 -2
- data/lib/spec/version.rb +1 -1
- data/rspec.gemspec +26 -0
- data/spec/spec/matchers/pretty_spec.rb +22 -0
- data/spec/spec/mocks/bug_report_1049_spec.rb +30 -0
- data/spec/spec/mocks/bug_report_957_spec.rb +22 -0
- data/spec/spec/mocks/mock_spec.rb +7 -0
- data/spec/spec/mocks/stub_spec.rb +2 -2
- data/spec/spec/runner/formatter/html_formatted-1.9.2.html +377 -0
- data/spec/spec/runner/formatter/text_mate_formatted-1.9.2.html +371 -0
- data/spec/spec/runner/heckle_runner_spec.rb +1 -1
- metadata +276 -157
- data/Manifest.txt +0 -384
- data/geminstaller.yml +0 -29
@@ -0,0 +1,371 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<title>RSpec results</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
|
+
<meta http-equiv="Expires" content="-1" />
|
10
|
+
<meta http-equiv="Pragma" content="no-cache" />
|
11
|
+
<style type="text/css">
|
12
|
+
body {
|
13
|
+
margin: 0;
|
14
|
+
padding: 0;
|
15
|
+
background: #fff;
|
16
|
+
font-size: 80%;
|
17
|
+
}
|
18
|
+
</style>
|
19
|
+
<script type="text/javascript">
|
20
|
+
// <![CDATA[
|
21
|
+
function moveProgressBar(percentDone) {
|
22
|
+
document.getElementById("rspec-header").style.width = percentDone +"%";
|
23
|
+
}
|
24
|
+
function makeRed(element_id) {
|
25
|
+
document.getElementById(element_id).style.background = '#C40D0D';
|
26
|
+
document.getElementById(element_id).style.color = '#FFFFFF';
|
27
|
+
}
|
28
|
+
|
29
|
+
function makeYellow(element_id) {
|
30
|
+
if (element_id == "rspec-header" && document.getElementById(element_id).style.background != '#C40D0D')
|
31
|
+
{
|
32
|
+
document.getElementById(element_id).style.background = '#FAF834';
|
33
|
+
document.getElementById(element_id).style.color = '#000000';
|
34
|
+
}
|
35
|
+
else
|
36
|
+
{
|
37
|
+
document.getElementById(element_id).style.background = '#FAF834';
|
38
|
+
document.getElementById(element_id).style.color = '#000000';
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
// ]]>
|
43
|
+
</script>
|
44
|
+
<style type="text/css">
|
45
|
+
#rspec-header {
|
46
|
+
background: #65C400; color: #fff; height: 4em;
|
47
|
+
}
|
48
|
+
|
49
|
+
.rspec-report h1 {
|
50
|
+
margin: 0px 10px 0px 10px;
|
51
|
+
padding: 10px;
|
52
|
+
font-family: "Lucida Grande", Helvetica, sans-serif;
|
53
|
+
font-size: 1.8em;
|
54
|
+
position: absolute;
|
55
|
+
}
|
56
|
+
|
57
|
+
#summary {
|
58
|
+
margin: 0; padding: 5px 10px;
|
59
|
+
font-family: "Lucida Grande", Helvetica, sans-serif;
|
60
|
+
text-align: right;
|
61
|
+
top: 0px;
|
62
|
+
right: 0px;
|
63
|
+
float:right;
|
64
|
+
}
|
65
|
+
|
66
|
+
#summary p {
|
67
|
+
margin: 0 0 0 2px;
|
68
|
+
}
|
69
|
+
|
70
|
+
#summary #totals {
|
71
|
+
font-size: 1.2em;
|
72
|
+
}
|
73
|
+
|
74
|
+
.example_group {
|
75
|
+
margin: 0 10px 5px;
|
76
|
+
background: #fff;
|
77
|
+
}
|
78
|
+
|
79
|
+
dl {
|
80
|
+
margin: 0; padding: 0 0 5px;
|
81
|
+
font: normal 11px "Lucida Grande", Helvetica, sans-serif;
|
82
|
+
}
|
83
|
+
|
84
|
+
dt {
|
85
|
+
padding: 3px;
|
86
|
+
background: #65C400;
|
87
|
+
color: #fff;
|
88
|
+
font-weight: bold;
|
89
|
+
}
|
90
|
+
|
91
|
+
dd {
|
92
|
+
margin: 5px 0 5px 5px;
|
93
|
+
padding: 3px 3px 3px 18px;
|
94
|
+
}
|
95
|
+
|
96
|
+
dd.spec.passed {
|
97
|
+
border-left: 5px solid #65C400;
|
98
|
+
border-bottom: 1px solid #65C400;
|
99
|
+
background: #DBFFB4; color: #3D7700;
|
100
|
+
}
|
101
|
+
|
102
|
+
dd.spec.failed {
|
103
|
+
border-left: 5px solid #C20000;
|
104
|
+
border-bottom: 1px solid #C20000;
|
105
|
+
color: #C20000; background: #FFFBD3;
|
106
|
+
}
|
107
|
+
|
108
|
+
dd.spec.not_implemented {
|
109
|
+
border-left: 5px solid #FAF834;
|
110
|
+
border-bottom: 1px solid #FAF834;
|
111
|
+
background: #FCFB98; color: #131313;
|
112
|
+
}
|
113
|
+
|
114
|
+
dd.spec.pending_fixed {
|
115
|
+
border-left: 5px solid #0000C2;
|
116
|
+
border-bottom: 1px solid #0000C2;
|
117
|
+
color: #0000C2; background: #D3FBFF;
|
118
|
+
}
|
119
|
+
|
120
|
+
.backtrace {
|
121
|
+
color: #000;
|
122
|
+
font-size: 12px;
|
123
|
+
}
|
124
|
+
|
125
|
+
a {
|
126
|
+
color: #BE5C00;
|
127
|
+
}
|
128
|
+
|
129
|
+
/* Ruby code, style similar to vibrant ink */
|
130
|
+
.ruby {
|
131
|
+
font-size: 12px;
|
132
|
+
font-family: monospace;
|
133
|
+
color: white;
|
134
|
+
background-color: black;
|
135
|
+
padding: 0.1em 0 0.2em 0;
|
136
|
+
}
|
137
|
+
|
138
|
+
.ruby .keyword { color: #FF6600; }
|
139
|
+
.ruby .constant { color: #339999; }
|
140
|
+
.ruby .attribute { color: white; }
|
141
|
+
.ruby .global { color: white; }
|
142
|
+
.ruby .module { color: white; }
|
143
|
+
.ruby .class { color: white; }
|
144
|
+
.ruby .string { color: #66FF00; }
|
145
|
+
.ruby .ident { color: white; }
|
146
|
+
.ruby .method { color: #FFCC00; }
|
147
|
+
.ruby .number { color: white; }
|
148
|
+
.ruby .char { color: white; }
|
149
|
+
.ruby .comment { color: #9933CC; }
|
150
|
+
.ruby .symbol { color: white; }
|
151
|
+
.ruby .regex { color: #44B4CC; }
|
152
|
+
.ruby .punct { color: white; }
|
153
|
+
.ruby .escape { color: white; }
|
154
|
+
.ruby .interp { color: white; }
|
155
|
+
.ruby .expr { color: white; }
|
156
|
+
|
157
|
+
.ruby .offending { background-color: gray; }
|
158
|
+
.ruby .linenum {
|
159
|
+
width: 75px;
|
160
|
+
padding: 0.1em 1em 0.2em 0;
|
161
|
+
color: #000000;
|
162
|
+
background-color: #FFFBD3;
|
163
|
+
}
|
164
|
+
|
165
|
+
</style>
|
166
|
+
</head>
|
167
|
+
<body>
|
168
|
+
<div class="rspec-report">
|
169
|
+
|
170
|
+
<div id="rspec-header">
|
171
|
+
<div id="label">
|
172
|
+
<h1>RSpec Code Examples</h1>
|
173
|
+
</div>
|
174
|
+
|
175
|
+
<div id="summary">
|
176
|
+
<p id="totals"> </p>
|
177
|
+
<p id="duration"> </p>
|
178
|
+
</div>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
<div class="results">
|
182
|
+
<div class="example_group">
|
183
|
+
<dl>
|
184
|
+
<dt id="example_group_1">Mocker</dt>
|
185
|
+
<script type="text/javascript">moveProgressBar('5.8');</script>
|
186
|
+
<dd class="spec passed"><span class="passed_spec_name">should be able to call mock()</span></dd>
|
187
|
+
<script type="text/javascript">makeRed('rspec-header');</script>
|
188
|
+
<script type="text/javascript">makeRed('example_group_1');</script>
|
189
|
+
<script type="text/javascript">moveProgressBar('11.7');</script>
|
190
|
+
<dd class="spec failed">
|
191
|
+
<span class="failed_spec_name">should fail when expected message not received</span>
|
192
|
+
<div class="failure" id="failure_1">
|
193
|
+
<div class="message"><pre>Mock "poke me" expected :poke with (any args) once, but received it 0 times</pre></div>
|
194
|
+
<div class="backtrace"><pre><a href="txmt://open?url=file://./examples/failing/mocking_example.rb&line=11">./examples/failing/mocking_example.rb:11</a> :in `block (2 levels) in <top (required)>'
|
195
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=49">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49</a> :in `block (4 levels) in <module:Formatter>'
|
196
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `chdir'
|
197
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `block (3 levels) in <module:Formatter>'</pre></div>
|
198
|
+
<pre class="ruby"><code><span class="linenum">9</span> <span class="ident">it</span> <span class="punct">"</span><span class="string">should fail when expected message not received</span><span class="punct">"</span> <span class="keyword">do</span>
|
199
|
+
<span class="linenum">10</span> <span class="ident">mock</span> <span class="punct">=</span> <span class="ident">mock</span><span class="punct">("</span><span class="string">poke me</span><span class="punct">")</span>
|
200
|
+
<span class="offending"><span class="linenum">11</span> <span class="ident">mock</span><span class="punct">.</span><span class="ident">should_receive</span><span class="punct">(</span><span class="symbol">:poke</span><span class="punct">)</span></span>
|
201
|
+
<span class="linenum">12</span> <span class="keyword">end</span>
|
202
|
+
<span class="linenum">13</span> </code></pre>
|
203
|
+
</div>
|
204
|
+
</dd>
|
205
|
+
<script type="text/javascript">moveProgressBar('17.6');</script>
|
206
|
+
<dd class="spec failed">
|
207
|
+
<span class="failed_spec_name">should fail when messages are received out of order</span>
|
208
|
+
<div class="failure" id="failure_2">
|
209
|
+
<div class="message"><pre>Mock "one two three" received :three out of order</pre></div>
|
210
|
+
<div class="backtrace"><pre><a href="txmt://open?url=file://./examples/failing/mocking_example.rb&line=20">./examples/failing/mocking_example.rb:20</a> :in `block (2 levels) in <top (required)>'
|
211
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=49">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49</a> :in `block (4 levels) in <module:Formatter>'
|
212
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `chdir'
|
213
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `block (3 levels) in <module:Formatter>'</pre></div>
|
214
|
+
<pre class="ruby"><code><span class="linenum">18</span> <span class="ident">mock</span><span class="punct">.</span><span class="ident">should_receive</span><span class="punct">(</span><span class="symbol">:three</span><span class="punct">).</span><span class="ident">ordered</span>
|
215
|
+
<span class="linenum">19</span> <span class="ident">mock</span><span class="punct">.</span><span class="ident">one</span>
|
216
|
+
<span class="offending"><span class="linenum">20</span> <span class="ident">mock</span><span class="punct">.</span><span class="ident">three</span></span>
|
217
|
+
<span class="linenum">21</span> <span class="ident">mock</span><span class="punct">.</span><span class="ident">two</span>
|
218
|
+
<span class="linenum">22</span> <span class="keyword">end</span></code></pre>
|
219
|
+
</div>
|
220
|
+
</dd>
|
221
|
+
<script type="text/javascript">moveProgressBar('23.5');</script>
|
222
|
+
<dd class="spec failed">
|
223
|
+
<span class="failed_spec_name">should get yelled at when sending unexpected messages</span>
|
224
|
+
<div class="failure" id="failure_3">
|
225
|
+
<div class="message"><pre>Mock "don't talk to me" expected :any_message_at_all with (no args) 0 times, but received it once</pre></div>
|
226
|
+
<div class="backtrace"><pre><a href="txmt://open?url=file://./examples/failing/mocking_example.rb&line=27">./examples/failing/mocking_example.rb:27</a> :in `block (2 levels) in <top (required)>'
|
227
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=49">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49</a> :in `block (4 levels) in <module:Formatter>'
|
228
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `chdir'
|
229
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `block (3 levels) in <module:Formatter>'</pre></div>
|
230
|
+
<pre class="ruby"><code><span class="linenum">25</span> <span class="ident">mock</span> <span class="punct">=</span> <span class="ident">mock</span><span class="punct">("</span><span class="string">don't talk to me</span><span class="punct">")</span>
|
231
|
+
<span class="linenum">26</span> <span class="ident">mock</span><span class="punct">.</span><span class="ident">should_not_receive</span><span class="punct">(</span><span class="symbol">:any_message_at_all</span><span class="punct">)</span>
|
232
|
+
<span class="offending"><span class="linenum">27</span> <span class="ident">mock</span><span class="punct">.</span><span class="ident">any_message_at_all</span></span>
|
233
|
+
<span class="linenum">28</span> <span class="keyword">end</span></code></pre>
|
234
|
+
</div>
|
235
|
+
</dd>
|
236
|
+
<script type="text/javascript">moveProgressBar('29.4');</script>
|
237
|
+
<dd class="spec pending_fixed">
|
238
|
+
<span class="failed_spec_name">has a bug we need to fix</span>
|
239
|
+
<div class="failure" id="failure_4">
|
240
|
+
<div class="message"><pre>Expected pending 'here is the bug' to fail. No Error was raised.</pre></div>
|
241
|
+
<div class="backtrace"><pre><a href="txmt://open?url=file://./examples/failing/mocking_example.rb&line=31">./examples/failing/mocking_example.rb:31</a> :in `block (2 levels) in <top (required)>'
|
242
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=49">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49</a> :in `block (4 levels) in <module:Formatter>'
|
243
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `chdir'
|
244
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `block (3 levels) in <module:Formatter>'</pre></div>
|
245
|
+
<pre class="ruby"><code><span class="linenum">29</span>
|
246
|
+
<span class="linenum">30</span> <span class="ident">it</span> <span class="punct">"</span><span class="string">has a bug we need to fix</span><span class="punct">"</span> <span class="keyword">do</span>
|
247
|
+
<span class="offending"><span class="linenum">31</span> <span class="ident">pending</span> <span class="punct">"</span><span class="string">here is the bug</span><span class="punct">"</span> <span class="keyword">do</span></span>
|
248
|
+
<span class="linenum">32</span> <span class="comment"># Actually, no. It's fixed. This will fail because it passes :-)</span>
|
249
|
+
<span class="linenum">33</span> <span class="ident">mock</span> <span class="punct">=</span> <span class="ident">mock</span><span class="punct">("</span><span class="string">Bug</span><span class="punct">")</span></code></pre>
|
250
|
+
</div>
|
251
|
+
</dd>
|
252
|
+
</dl>
|
253
|
+
</div>
|
254
|
+
<div class="example_group">
|
255
|
+
<dl>
|
256
|
+
<dt id="example_group_2">Running specs with --diff</dt>
|
257
|
+
<script type="text/javascript">makeRed('example_group_2');</script>
|
258
|
+
<script type="text/javascript">moveProgressBar('35.2');</script>
|
259
|
+
<dd class="spec failed">
|
260
|
+
<span class="failed_spec_name">should print diff of different strings</span>
|
261
|
+
<div class="failure" id="failure_5">
|
262
|
+
<div class="message"><pre>expected: "RSpec is a\nbehaviour driven development\nframework for Ruby\n",
|
263
|
+
got: "RSpec is a\nbehavior driven development\nframework for Ruby\n" (using ==)
|
264
|
+
|
265
|
+
Diff:
|
266
|
+
@@ -1,4 +1,4 @@
|
267
|
+
RSpec is a
|
268
|
+
-behaviour driven development
|
269
|
+
+behavior driven development
|
270
|
+
framework for Ruby
|
271
|
+
</pre></div>
|
272
|
+
<div class="backtrace"><pre><a href="txmt://open?url=file://./examples/failing/diffing_spec.rb&line=13">./examples/failing/diffing_spec.rb:13</a> :in `block (2 levels) in <top (required)>'
|
273
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=49">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49</a> :in `block (4 levels) in <module:Formatter>'
|
274
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `chdir'
|
275
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `block (3 levels) in <module:Formatter>'</pre></div>
|
276
|
+
<pre class="ruby"><code><span class="linenum">11</span><span class="ident">framework</span> <span class="keyword">for</span> <span class="constant">Ruby</span>
|
277
|
+
<span class="linenum">12</span><span class="constant">EOF</span>
|
278
|
+
<span class="offending"><span class="linenum">13</span> <span class="ident">usa</span><span class="punct">.</span><span class="ident">should</span> <span class="punct">==</span> <span class="ident">uk</span></span>
|
279
|
+
<span class="linenum">14</span> <span class="keyword">end</span></code></pre>
|
280
|
+
</div>
|
281
|
+
</dd>
|
282
|
+
<script type="text/javascript">moveProgressBar('41.1');</script>
|
283
|
+
<dd class="spec failed">
|
284
|
+
<span class="failed_spec_name">should print diff of different objects' pretty representation</span>
|
285
|
+
<div class="failure" id="failure_6">
|
286
|
+
<div class="message"><pre>
|
287
|
+
expected <Animal
|
288
|
+
name=bob,
|
289
|
+
species=tortoise
|
290
|
+
>
|
291
|
+
|
292
|
+
got <Animal
|
293
|
+
name=bob,
|
294
|
+
species=giraffe
|
295
|
+
>
|
296
|
+
|
297
|
+
|
298
|
+
(compared using eql?)
|
299
|
+
</pre></div>
|
300
|
+
<div class="backtrace"><pre><a href="txmt://open?url=file://./examples/failing/diffing_spec.rb&line=34">./examples/failing/diffing_spec.rb:34</a> :in `block (2 levels) in <top (required)>'
|
301
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=49">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49</a> :in `block (4 levels) in <module:Formatter>'
|
302
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `chdir'
|
303
|
+
<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `block (3 levels) in <module:Formatter>'</pre></div>
|
304
|
+
<pre class="ruby"><code><span class="linenum">32</span> <span class="ident">expected</span> <span class="punct">=</span> <span class="constant">Animal</span><span class="punct">.</span><span class="ident">new</span> <span class="punct">"</span><span class="string">bob</span><span class="punct">",</span> <span class="punct">"</span><span class="string">giraffe</span><span class="punct">"</span>
|
305
|
+
<span class="linenum">33</span> <span class="ident">actual</span> <span class="punct">=</span> <span class="constant">Animal</span><span class="punct">.</span><span class="ident">new</span> <span class="punct">"</span><span class="string">bob</span><span class="punct">",</span> <span class="punct">"</span><span class="string">tortoise</span><span class="punct">"</span>
|
306
|
+
<span class="offending"><span class="linenum">34</span> <span class="ident">expected</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eql</span><span class="punct">(</span><span class="ident">actual</span><span class="punct">)</span></span>
|
307
|
+
<span class="linenum">35</span> <span class="keyword">end</span>
|
308
|
+
<span class="linenum">36</span><span class="keyword">end</span></code></pre>
|
309
|
+
</div>
|
310
|
+
</dd>
|
311
|
+
</dl>
|
312
|
+
</div>
|
313
|
+
<div class="example_group">
|
314
|
+
<dl>
|
315
|
+
<dt id="example_group_3">A consumer of a stub</dt>
|
316
|
+
<script type="text/javascript">moveProgressBar('47.0');</script>
|
317
|
+
<dd class="spec passed"><span class="passed_spec_name">should be able to stub methods on any Object</span></dd>
|
318
|
+
</dl>
|
319
|
+
</div>
|
320
|
+
<div class="example_group">
|
321
|
+
<dl>
|
322
|
+
<dt id="example_group_4">A stubbed method on a class</dt>
|
323
|
+
<script type="text/javascript">moveProgressBar('52.9');</script>
|
324
|
+
<dd class="spec passed"><span class="passed_spec_name">should return the stubbed value</span></dd>
|
325
|
+
<script type="text/javascript">moveProgressBar('58.8');</script>
|
326
|
+
<dd class="spec passed"><span class="passed_spec_name">should revert to the original method after each spec</span></dd>
|
327
|
+
<script type="text/javascript">moveProgressBar('64.7');</script>
|
328
|
+
<dd class="spec passed"><span class="passed_spec_name">can stub! and mock the same message</span></dd>
|
329
|
+
</dl>
|
330
|
+
</div>
|
331
|
+
<div class="example_group">
|
332
|
+
<dl>
|
333
|
+
<dt id="example_group_5">A mock</dt>
|
334
|
+
<script type="text/javascript">moveProgressBar('70.5');</script>
|
335
|
+
<dd class="spec passed"><span class="passed_spec_name">can stub!</span></dd>
|
336
|
+
<script type="text/javascript">moveProgressBar('76.4');</script>
|
337
|
+
<dd class="spec passed"><span class="passed_spec_name">can stub! and mock</span></dd>
|
338
|
+
<script type="text/javascript">moveProgressBar('82.3');</script>
|
339
|
+
<dd class="spec passed"><span class="passed_spec_name">can stub! and mock the same message</span></dd>
|
340
|
+
</dl>
|
341
|
+
</div>
|
342
|
+
<div class="example_group">
|
343
|
+
<dl>
|
344
|
+
<dt id="example_group_6">pending example (using pending method)</dt>
|
345
|
+
<script type="text/javascript">makeYellow('example_group_6');</script>
|
346
|
+
<script type="text/javascript">moveProgressBar('88.2');</script>
|
347
|
+
<dd class="spec not_implemented"><span class="not_implemented_spec_name">should be reported as "PENDING: for some reason" (PENDING: for some reason)</span></dd>
|
348
|
+
</dl>
|
349
|
+
</div>
|
350
|
+
<div class="example_group">
|
351
|
+
<dl>
|
352
|
+
<dt id="example_group_7">pending example (with no block)</dt>
|
353
|
+
<script type="text/javascript">makeYellow('example_group_7');</script>
|
354
|
+
<script type="text/javascript">moveProgressBar('94.1');</script>
|
355
|
+
<dd class="spec not_implemented"><span class="not_implemented_spec_name">should be reported as "PENDING: Not Yet Implemented" (PENDING: Not Yet Implemented)</span></dd>
|
356
|
+
</dl>
|
357
|
+
</div>
|
358
|
+
<div class="example_group">
|
359
|
+
<dl>
|
360
|
+
<dt id="example_group_8">pending example (with block for pending)</dt>
|
361
|
+
<script type="text/javascript">makeYellow('example_group_8');</script>
|
362
|
+
<script type="text/javascript">moveProgressBar('100.0');</script>
|
363
|
+
<dd class="spec not_implemented"><span class="not_implemented_spec_name">should have a failing block, passed to pending, reported as "PENDING: for some reason" (PENDING: for some reason)</span></dd>
|
364
|
+
</dl>
|
365
|
+
</div>
|
366
|
+
<script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>x seconds</strong>";</script>
|
367
|
+
<script type="text/javascript">document.getElementById('totals').innerHTML = "17 examples, 6 failures, 3 pending";</script>
|
368
|
+
</div>
|
369
|
+
</div>
|
370
|
+
</body>
|
371
|
+
</html>
|
@@ -53,7 +53,7 @@ unless [/mswin/, /java/].detect{|p| p =~ RUBY_PLATFORM} || Spec::Ruby.version.to
|
|
53
53
|
end
|
54
54
|
|
55
55
|
it "should heckle specific method in a class (with .)" do
|
56
|
-
@heckle_class.should_receive(:new).with("Foo::Bar", "two", Spec::Runner.options).and_return(@heckle)
|
56
|
+
@heckle_class.should_receive(:new).with("Foo::Bar", "self.two", Spec::Runner.options).and_return(@heckle)
|
57
57
|
|
58
58
|
heckle_runner = Spec::Runner::HeckleRunner.new("Foo::Bar.two", @heckle_class)
|
59
59
|
heckle_runner.heckle_with
|
metadata
CHANGED
@@ -1,151 +1,76 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 3
|
9
|
-
- 1
|
10
|
-
version: 1.3.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.3.2
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
- RSpec Development Team
|
7
|
+
authors:
|
8
|
+
- The RSpec Development Team
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2010-10-09 00:00:00 -05:00
|
12
|
+
date: 2011-04-11 00:00:00.000000000 -05:00
|
19
13
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
name: rubyforge
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 7
|
30
|
-
segments:
|
31
|
-
- 2
|
32
|
-
- 0
|
33
|
-
- 4
|
34
|
-
version: 2.0.4
|
35
|
-
type: :development
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
38
16
|
name: cucumber
|
39
|
-
|
40
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
17
|
+
requirement: &2161194160 !ruby/object:Gem::Requirement
|
41
18
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
- 3
|
49
|
-
version: "0.3"
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0.3'
|
50
23
|
type: :development
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: fakefs
|
54
24
|
prerelease: false
|
55
|
-
|
25
|
+
version_requirements: *2161194160
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: fakefs
|
28
|
+
requirement: &2161197760 !ruby/object:Gem::Requirement
|
56
29
|
none: false
|
57
|
-
requirements:
|
58
|
-
- -
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
hash: 21
|
61
|
-
segments:
|
62
|
-
- 0
|
63
|
-
- 2
|
64
|
-
- 1
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
65
33
|
version: 0.2.1
|
66
34
|
type: :development
|
67
|
-
version_requirements: *id003
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: syntax
|
70
35
|
prerelease: false
|
71
|
-
|
36
|
+
version_requirements: *2161197760
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: syntax
|
39
|
+
requirement: &2161203860 !ruby/object:Gem::Requirement
|
72
40
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
77
|
-
segments:
|
78
|
-
- 1
|
79
|
-
- 0
|
80
|
-
version: "1.0"
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '1.0'
|
81
45
|
type: :development
|
82
|
-
version_requirements: *id004
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: diff-lcs
|
85
46
|
prerelease: false
|
86
|
-
|
47
|
+
version_requirements: *2161203860
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: diff-lcs
|
50
|
+
requirement: &2161210080 !ruby/object:Gem::Requirement
|
87
51
|
none: false
|
88
|
-
requirements:
|
89
|
-
- -
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
hash: 23
|
92
|
-
segments:
|
93
|
-
- 1
|
94
|
-
- 1
|
95
|
-
- 2
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
96
55
|
version: 1.1.2
|
97
56
|
type: :development
|
98
|
-
version_requirements: *id005
|
99
|
-
- !ruby/object:Gem::Dependency
|
100
|
-
name: heckle
|
101
|
-
prerelease: false
|
102
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
103
|
-
none: false
|
104
|
-
requirements:
|
105
|
-
- - ">="
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
hash: 1
|
108
|
-
segments:
|
109
|
-
- 1
|
110
|
-
- 4
|
111
|
-
- 3
|
112
|
-
version: 1.4.3
|
113
|
-
type: :development
|
114
|
-
version_requirements: *id006
|
115
|
-
- !ruby/object:Gem::Dependency
|
116
|
-
name: hoe
|
117
57
|
prerelease: false
|
118
|
-
|
119
|
-
none: false
|
120
|
-
requirements:
|
121
|
-
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
hash: 19
|
124
|
-
segments:
|
125
|
-
- 2
|
126
|
-
- 6
|
127
|
-
- 2
|
128
|
-
version: 2.6.2
|
129
|
-
type: :development
|
130
|
-
version_requirements: *id007
|
58
|
+
version_requirements: *2161210080
|
131
59
|
description: Behaviour Driven Development for Ruby.
|
132
|
-
email:
|
60
|
+
email:
|
133
61
|
- rspec-devel@rubyforge.org
|
134
|
-
executables:
|
62
|
+
executables:
|
135
63
|
- autospec
|
136
64
|
- spec
|
137
65
|
extensions: []
|
138
|
-
|
139
|
-
|
140
|
-
-
|
141
|
-
- Manifest.txt
|
142
|
-
- TODO.txt
|
143
|
-
- examples/failing/README.txt
|
144
|
-
files:
|
66
|
+
extra_rdoc_files: []
|
67
|
+
files:
|
68
|
+
- .autotest
|
145
69
|
- .document
|
70
|
+
- .gitignore
|
71
|
+
- Gemfile
|
146
72
|
- History.rdoc
|
147
73
|
- License.txt
|
148
|
-
- Manifest.txt
|
149
74
|
- README.rdoc
|
150
75
|
- Rakefile
|
151
76
|
- Ruby1.9.rdoc
|
@@ -154,6 +79,7 @@ files:
|
|
154
79
|
- bin/autospec
|
155
80
|
- bin/spec
|
156
81
|
- cucumber.yml
|
82
|
+
- example_spec.rb
|
157
83
|
- examples/failing/README.txt
|
158
84
|
- examples/failing/diffing_spec.rb
|
159
85
|
- examples/failing/failing_implicit_docstrings_example.rb
|
@@ -199,6 +125,8 @@ files:
|
|
199
125
|
- examples/passing/stubbing_example.rb
|
200
126
|
- examples/passing/yielding_example.rb
|
201
127
|
- examples/ruby1.9.compatibility/access_to_constants_spec.rb
|
128
|
+
- features-pending/cli/conditional_exclusion.feature
|
129
|
+
- features-pending/heckle/heckle.feature
|
202
130
|
- features/before_and_after_blocks/before_and_after_blocks.feature
|
203
131
|
- features/command_line/line_number_option.feature
|
204
132
|
- features/command_line/line_number_option_with_example_with_no_name.feature
|
@@ -241,7 +169,6 @@ files:
|
|
241
169
|
- features/subject/implicit_subject.feature
|
242
170
|
- features/support/env.rb
|
243
171
|
- features/support/matchers/smart_match.rb
|
244
|
-
- geminstaller.yml
|
245
172
|
- init.rb
|
246
173
|
- lib/autotest/discover.rb
|
247
174
|
- lib/autotest/rspec.rb
|
@@ -367,6 +294,7 @@ files:
|
|
367
294
|
- resources/rake/examples_with_rcov.rake
|
368
295
|
- resources/rake/failing_examples_with_html.rake
|
369
296
|
- resources/rake/verify_rcov.rake
|
297
|
+
- rspec.gemspec
|
370
298
|
- spec/README.jruby
|
371
299
|
- spec/autotest/autotest_helper.rb
|
372
300
|
- spec/autotest/autotest_matchers.rb
|
@@ -428,6 +356,7 @@ files:
|
|
428
356
|
- spec/spec/matchers/matcher_spec.rb
|
429
357
|
- spec/spec/matchers/matchers_spec.rb
|
430
358
|
- spec/spec/matchers/operator_matcher_spec.rb
|
359
|
+
- spec/spec/matchers/pretty_spec.rb
|
431
360
|
- spec/spec/matchers/raise_exception_spec.rb
|
432
361
|
- spec/spec/matchers/respond_to_spec.rb
|
433
362
|
- spec/spec/matchers/satisfy_spec.rb
|
@@ -441,6 +370,7 @@ files:
|
|
441
370
|
- spec/spec/mocks/at_most_spec.rb
|
442
371
|
- spec/spec/mocks/bug_report_10260_spec.rb
|
443
372
|
- spec/spec/mocks/bug_report_10263_spec.rb
|
373
|
+
- spec/spec/mocks/bug_report_1049_spec.rb
|
444
374
|
- spec/spec/mocks/bug_report_11545_spec.rb
|
445
375
|
- spec/spec/mocks/bug_report_15719_spec.rb
|
446
376
|
- spec/spec/mocks/bug_report_496_spec.rb
|
@@ -450,6 +380,7 @@ files:
|
|
450
380
|
- spec/spec/mocks/bug_report_8165_spec.rb
|
451
381
|
- spec/spec/mocks/bug_report_8302_spec.rb
|
452
382
|
- spec/spec/mocks/bug_report_830_spec.rb
|
383
|
+
- spec/spec/mocks/bug_report_957_spec.rb
|
453
384
|
- spec/spec/mocks/double_spec.rb
|
454
385
|
- spec/spec/mocks/failing_argument_matchers_spec.rb
|
455
386
|
- spec/spec/mocks/hash_including_matcher_spec.rb
|
@@ -491,6 +422,7 @@ files:
|
|
491
422
|
- spec/spec/runner/formatter/html_formatted-1.8.6.html
|
492
423
|
- spec/spec/runner/formatter/html_formatted-1.8.7.html
|
493
424
|
- spec/spec/runner/formatter/html_formatted-1.9.1.html
|
425
|
+
- spec/spec/runner/formatter/html_formatted-1.9.2.html
|
494
426
|
- spec/spec/runner/formatter/html_formatter_spec.rb
|
495
427
|
- spec/spec/runner/formatter/nested_text_formatter_spec.rb
|
496
428
|
- spec/spec/runner/formatter/profile_formatter_spec.rb
|
@@ -501,6 +433,7 @@ files:
|
|
501
433
|
- spec/spec/runner/formatter/text_mate_formatted-1.8.6.html
|
502
434
|
- spec/spec/runner/formatter/text_mate_formatted-1.8.7.html
|
503
435
|
- spec/spec/runner/formatter/text_mate_formatted-1.9.1.html
|
436
|
+
- spec/spec/runner/formatter/text_mate_formatted-1.9.2.html
|
504
437
|
- spec/spec/runner/formatter/text_mate_formatter_spec.rb
|
505
438
|
- spec/spec/runner/heckle_runner_spec.rb
|
506
439
|
- spec/spec/runner/heckler_spec.rb
|
@@ -527,48 +460,234 @@ files:
|
|
527
460
|
- spec/support/macros.rb
|
528
461
|
- spec/support/spec_classes.rb
|
529
462
|
has_rdoc: true
|
530
|
-
homepage:
|
463
|
+
homepage: ''
|
531
464
|
licenses: []
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
Thank you for installing rspec-1.3.1
|
537
|
-
|
538
|
-
Please be sure to read History.rdoc and Upgrade.rdoc
|
539
|
-
for useful information about this release.
|
540
|
-
|
541
|
-
**************************************************
|
542
|
-
|
543
|
-
rdoc_options:
|
544
|
-
- --main
|
545
|
-
- README.rdoc
|
546
|
-
require_paths:
|
465
|
+
post_install_message:
|
466
|
+
rdoc_options: []
|
467
|
+
require_paths:
|
547
468
|
- lib
|
548
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
469
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
549
470
|
none: false
|
550
|
-
requirements:
|
551
|
-
- -
|
552
|
-
- !ruby/object:Gem::Version
|
553
|
-
|
554
|
-
|
555
|
-
- 0
|
556
|
-
version: "0"
|
557
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
471
|
+
requirements:
|
472
|
+
- - ! '>='
|
473
|
+
- !ruby/object:Gem::Version
|
474
|
+
version: '0'
|
475
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
558
476
|
none: false
|
559
|
-
requirements:
|
560
|
-
- -
|
561
|
-
- !ruby/object:Gem::Version
|
562
|
-
|
563
|
-
segments:
|
564
|
-
- 0
|
565
|
-
version: "0"
|
477
|
+
requirements:
|
478
|
+
- - ! '>='
|
479
|
+
- !ruby/object:Gem::Version
|
480
|
+
version: '0'
|
566
481
|
requirements: []
|
567
|
-
|
568
482
|
rubyforge_project: rspec
|
569
|
-
rubygems_version: 1.
|
483
|
+
rubygems_version: 1.5.2
|
570
484
|
signing_key:
|
571
485
|
specification_version: 3
|
572
|
-
summary: rspec 1.3.
|
573
|
-
test_files:
|
574
|
-
|
486
|
+
summary: rspec 1.3.2
|
487
|
+
test_files:
|
488
|
+
- features/before_and_after_blocks/before_and_after_blocks.feature
|
489
|
+
- features/command_line/line_number_option.feature
|
490
|
+
- features/command_line/line_number_option_with_example_with_no_name.feature
|
491
|
+
- features/example_groups/define_example_attribute.feature
|
492
|
+
- features/example_groups/example_group_with_should_methods.feature
|
493
|
+
- features/example_groups/implicit_docstrings.feature
|
494
|
+
- features/example_groups/nested_groups.feature
|
495
|
+
- features/expectations/customized_message.feature
|
496
|
+
- features/expectations/expect_change.feature
|
497
|
+
- features/expectations/expect_error.feature
|
498
|
+
- features/extensions/custom_example_group.feature
|
499
|
+
- features/formatters/custom_formatter.feature
|
500
|
+
- features/formatters/nested_formatter.feature
|
501
|
+
- features/interop/cucumber_stubs_dont_leak.feature
|
502
|
+
- features/interop/examples_and_tests_together.feature
|
503
|
+
- features/interop/rspec_output.feature
|
504
|
+
- features/interop/test_but_not_test_unit.feature
|
505
|
+
- features/interop/test_case_with_should_methods.feature
|
506
|
+
- features/load_paths/add_lib_to_load_path.feature
|
507
|
+
- features/load_paths/add_spec_to_load_path.feature
|
508
|
+
- features/matchers/define_diffable_matcher.feature
|
509
|
+
- features/matchers/define_matcher.feature
|
510
|
+
- features/matchers/define_matcher_outside_rspec.feature
|
511
|
+
- features/matchers/define_matcher_with_fluent_interface.feature
|
512
|
+
- features/matchers/define_wrapped_matcher.feature
|
513
|
+
- features/matchers/match_unless_raises.feature
|
514
|
+
- features/matchers/match_unless_raises_unexpected_error.feature
|
515
|
+
- features/mock_framework_integration/use_flexmock.feature
|
516
|
+
- features/mock_framework_integration/use_mocha.feature
|
517
|
+
- features/mock_framework_integration/use_rr.feature
|
518
|
+
- features/mocks/block_local_expectations.feature
|
519
|
+
- features/mocks/mix_stubs_and_mocks.feature
|
520
|
+
- features/mocks/stub_implementation.feature
|
521
|
+
- features/pending/pending_examples.feature
|
522
|
+
- features/runner/specify_line_number.feature
|
523
|
+
- features/spec_helper/spec_helper.feature
|
524
|
+
- features/step_definitions/running_rspec_steps.rb
|
525
|
+
- features/step_definitions/stubbing_steps.rb
|
526
|
+
- features/subject/explicit_subject.feature
|
527
|
+
- features/subject/implicit_subject.feature
|
528
|
+
- features/support/env.rb
|
529
|
+
- features/support/matchers/smart_match.rb
|
530
|
+
- spec/README.jruby
|
531
|
+
- spec/autotest/autotest_helper.rb
|
532
|
+
- spec/autotest/autotest_matchers.rb
|
533
|
+
- spec/autotest/discover_spec.rb
|
534
|
+
- spec/autotest/failed_results_re_spec.rb
|
535
|
+
- spec/autotest/rspec_spec.rb
|
536
|
+
- spec/ruby_forker.rb
|
537
|
+
- spec/spec.opts
|
538
|
+
- spec/spec/dsl/main_spec.rb
|
539
|
+
- spec/spec/example/example_group_class_definition_spec.rb
|
540
|
+
- spec/spec/example/example_group_factory_spec.rb
|
541
|
+
- spec/spec/example/example_group_methods_spec.rb
|
542
|
+
- spec/spec/example/example_group_proxy_spec.rb
|
543
|
+
- spec/spec/example/example_group_spec.rb
|
544
|
+
- spec/spec/example/example_matcher_spec.rb
|
545
|
+
- spec/spec/example/example_methods_spec.rb
|
546
|
+
- spec/spec/example/example_proxy_spec.rb
|
547
|
+
- spec/spec/example/helper_method_spec.rb
|
548
|
+
- spec/spec/example/nested_example_group_spec.rb
|
549
|
+
- spec/spec/example/pending_module_spec.rb
|
550
|
+
- spec/spec/example/predicate_matcher_spec.rb
|
551
|
+
- spec/spec/example/shared_example_group_spec.rb
|
552
|
+
- spec/spec/example/subclassing_example_group_spec.rb
|
553
|
+
- spec/spec/example/subject_spec.rb
|
554
|
+
- spec/spec/expectations/differs/default_spec.rb
|
555
|
+
- spec/spec/expectations/extensions/kernel_spec.rb
|
556
|
+
- spec/spec/expectations/fail_with_spec.rb
|
557
|
+
- spec/spec/expectations/handler_spec.rb
|
558
|
+
- spec/spec/expectations/wrap_expectation_spec.rb
|
559
|
+
- spec/spec/interop/test/unit/resources/spec_that_fails.rb
|
560
|
+
- spec/spec/interop/test/unit/resources/spec_that_passes.rb
|
561
|
+
- spec/spec/interop/test/unit/resources/spec_with_errors.rb
|
562
|
+
- spec/spec/interop/test/unit/resources/spec_with_options_hash.rb
|
563
|
+
- spec/spec/interop/test/unit/resources/test_case_that_fails.rb
|
564
|
+
- spec/spec/interop/test/unit/resources/test_case_that_passes.rb
|
565
|
+
- spec/spec/interop/test/unit/resources/test_case_with_errors.rb
|
566
|
+
- spec/spec/interop/test/unit/resources/test_case_with_various_names.rb
|
567
|
+
- spec/spec/interop/test/unit/resources/testsuite_adapter_spec_with_test_unit.rb
|
568
|
+
- spec/spec/interop/test/unit/spec_spec.rb
|
569
|
+
- spec/spec/interop/test/unit/test_unit_spec_helper.rb
|
570
|
+
- spec/spec/interop/test/unit/testcase_spec.rb
|
571
|
+
- spec/spec/interop/test/unit/testsuite_adapter_spec.rb
|
572
|
+
- spec/spec/matchers/be_close_spec.rb
|
573
|
+
- spec/spec/matchers/be_instance_of_spec.rb
|
574
|
+
- spec/spec/matchers/be_kind_of_spec.rb
|
575
|
+
- spec/spec/matchers/be_spec.rb
|
576
|
+
- spec/spec/matchers/change_spec.rb
|
577
|
+
- spec/spec/matchers/compatibility_spec.rb
|
578
|
+
- spec/spec/matchers/description_generation_spec.rb
|
579
|
+
- spec/spec/matchers/dsl_spec.rb
|
580
|
+
- spec/spec/matchers/eql_spec.rb
|
581
|
+
- spec/spec/matchers/equal_spec.rb
|
582
|
+
- spec/spec/matchers/exist_spec.rb
|
583
|
+
- spec/spec/matchers/has_spec.rb
|
584
|
+
- spec/spec/matchers/have_spec.rb
|
585
|
+
- spec/spec/matchers/include_spec.rb
|
586
|
+
- spec/spec/matchers/match_array_spec.rb
|
587
|
+
- spec/spec/matchers/match_spec.rb
|
588
|
+
- spec/spec/matchers/matcher_spec.rb
|
589
|
+
- spec/spec/matchers/matchers_spec.rb
|
590
|
+
- spec/spec/matchers/operator_matcher_spec.rb
|
591
|
+
- spec/spec/matchers/pretty_spec.rb
|
592
|
+
- spec/spec/matchers/raise_exception_spec.rb
|
593
|
+
- spec/spec/matchers/respond_to_spec.rb
|
594
|
+
- spec/spec/matchers/satisfy_spec.rb
|
595
|
+
- spec/spec/matchers/simple_matcher_spec.rb
|
596
|
+
- spec/spec/matchers/throw_symbol_spec.rb
|
597
|
+
- spec/spec/mocks/and_yield_spec.rb
|
598
|
+
- spec/spec/mocks/any_number_of_times_spec.rb
|
599
|
+
- spec/spec/mocks/argument_expectation_spec.rb
|
600
|
+
- spec/spec/mocks/argument_matchers_spec.rb
|
601
|
+
- spec/spec/mocks/at_least_spec.rb
|
602
|
+
- spec/spec/mocks/at_most_spec.rb
|
603
|
+
- spec/spec/mocks/bug_report_10260_spec.rb
|
604
|
+
- spec/spec/mocks/bug_report_10263_spec.rb
|
605
|
+
- spec/spec/mocks/bug_report_1049_spec.rb
|
606
|
+
- spec/spec/mocks/bug_report_11545_spec.rb
|
607
|
+
- spec/spec/mocks/bug_report_15719_spec.rb
|
608
|
+
- spec/spec/mocks/bug_report_496_spec.rb
|
609
|
+
- spec/spec/mocks/bug_report_600_spec.rb
|
610
|
+
- spec/spec/mocks/bug_report_7611_spec.rb
|
611
|
+
- spec/spec/mocks/bug_report_7805_spec.rb
|
612
|
+
- spec/spec/mocks/bug_report_8165_spec.rb
|
613
|
+
- spec/spec/mocks/bug_report_8302_spec.rb
|
614
|
+
- spec/spec/mocks/bug_report_830_spec.rb
|
615
|
+
- spec/spec/mocks/bug_report_957_spec.rb
|
616
|
+
- spec/spec/mocks/double_spec.rb
|
617
|
+
- spec/spec/mocks/failing_argument_matchers_spec.rb
|
618
|
+
- spec/spec/mocks/hash_including_matcher_spec.rb
|
619
|
+
- spec/spec/mocks/hash_not_including_matcher_spec.rb
|
620
|
+
- spec/spec/mocks/mock_ordering_spec.rb
|
621
|
+
- spec/spec/mocks/mock_space_spec.rb
|
622
|
+
- spec/spec/mocks/mock_spec.rb
|
623
|
+
- spec/spec/mocks/multiple_return_value_spec.rb
|
624
|
+
- spec/spec/mocks/nil_expectation_warning_spec.rb
|
625
|
+
- spec/spec/mocks/null_object_mock_spec.rb
|
626
|
+
- spec/spec/mocks/once_counts_spec.rb
|
627
|
+
- spec/spec/mocks/options_hash_spec.rb
|
628
|
+
- spec/spec/mocks/partial_mock_spec.rb
|
629
|
+
- spec/spec/mocks/partial_mock_using_mocks_directly_spec.rb
|
630
|
+
- spec/spec/mocks/passing_argument_matchers_spec.rb
|
631
|
+
- spec/spec/mocks/precise_counts_spec.rb
|
632
|
+
- spec/spec/mocks/record_messages_spec.rb
|
633
|
+
- spec/spec/mocks/stub_chain_spec.rb
|
634
|
+
- spec/spec/mocks/stub_implementation_spec.rb
|
635
|
+
- spec/spec/mocks/stub_spec.rb
|
636
|
+
- spec/spec/mocks/stubbed_message_expectations_spec.rb
|
637
|
+
- spec/spec/mocks/twice_counts_spec.rb
|
638
|
+
- spec/spec/mocks/unstub_spec.rb
|
639
|
+
- spec/spec/package/bin_spec_spec.rb
|
640
|
+
- spec/spec/rake/spectask_spec.rb
|
641
|
+
- spec/spec/runner/class_and_argument_parser_spec.rb
|
642
|
+
- spec/spec/runner/command_line_spec.rb
|
643
|
+
- spec/spec/runner/configuration_spec.rb
|
644
|
+
- spec/spec/runner/drb_command_line_spec.rb
|
645
|
+
- spec/spec/runner/empty_file.txt
|
646
|
+
- spec/spec/runner/example_group_runner_spec.rb
|
647
|
+
- spec/spec/runner/examples.txt
|
648
|
+
- spec/spec/runner/failed.txt
|
649
|
+
- spec/spec/runner/formatter/base_formatter_spec.rb
|
650
|
+
- spec/spec/runner/formatter/base_text_formatter_spec.rb
|
651
|
+
- spec/spec/runner/formatter/failing_example_groups_formatter_spec.rb
|
652
|
+
- spec/spec/runner/formatter/failing_examples_formatter_spec.rb
|
653
|
+
- spec/spec/runner/formatter/html_formatted-1.8.6-jruby.html
|
654
|
+
- spec/spec/runner/formatter/html_formatted-1.8.6.html
|
655
|
+
- spec/spec/runner/formatter/html_formatted-1.8.7.html
|
656
|
+
- spec/spec/runner/formatter/html_formatted-1.9.1.html
|
657
|
+
- spec/spec/runner/formatter/html_formatted-1.9.2.html
|
658
|
+
- spec/spec/runner/formatter/html_formatter_spec.rb
|
659
|
+
- spec/spec/runner/formatter/nested_text_formatter_spec.rb
|
660
|
+
- spec/spec/runner/formatter/profile_formatter_spec.rb
|
661
|
+
- spec/spec/runner/formatter/progress_bar_formatter_spec.rb
|
662
|
+
- spec/spec/runner/formatter/snippet_extractor_spec.rb
|
663
|
+
- spec/spec/runner/formatter/specdoc_formatter_spec.rb
|
664
|
+
- spec/spec/runner/formatter/text_mate_formatted-1.8.6-jruby.html
|
665
|
+
- spec/spec/runner/formatter/text_mate_formatted-1.8.6.html
|
666
|
+
- spec/spec/runner/formatter/text_mate_formatted-1.8.7.html
|
667
|
+
- spec/spec/runner/formatter/text_mate_formatted-1.9.1.html
|
668
|
+
- spec/spec/runner/formatter/text_mate_formatted-1.9.2.html
|
669
|
+
- spec/spec/runner/formatter/text_mate_formatter_spec.rb
|
670
|
+
- spec/spec/runner/heckle_runner_spec.rb
|
671
|
+
- spec/spec/runner/heckler_spec.rb
|
672
|
+
- spec/spec/runner/line_number_query/line_number_query_fixture.rb
|
673
|
+
- spec/spec/runner/line_number_query_spec.rb
|
674
|
+
- spec/spec/runner/noisy_backtrace_tweaker_spec.rb
|
675
|
+
- spec/spec/runner/option_parser_spec.rb
|
676
|
+
- spec/spec/runner/options_spec.rb
|
677
|
+
- spec/spec/runner/output_one_time_fixture.rb
|
678
|
+
- spec/spec/runner/output_one_time_fixture_runner.rb
|
679
|
+
- spec/spec/runner/output_one_time_spec.rb
|
680
|
+
- spec/spec/runner/quiet_backtrace_tweaker_spec.rb
|
681
|
+
- spec/spec/runner/reporter_spec.rb
|
682
|
+
- spec/spec/runner/resources/a_bar.rb
|
683
|
+
- spec/spec/runner/resources/a_foo.rb
|
684
|
+
- spec/spec/runner/resources/a_spec.rb
|
685
|
+
- spec/spec/runner/resources/custom_example_group_runner.rb
|
686
|
+
- spec/spec/runner/resources/utf8_encoded.rb
|
687
|
+
- spec/spec/runner/spec.opts
|
688
|
+
- spec/spec/runner/spec_drb.opts
|
689
|
+
- spec/spec/runner/spec_spaced.opts
|
690
|
+
- spec/spec/runner_spec.rb
|
691
|
+
- spec/spec_helper.rb
|
692
|
+
- spec/support/macros.rb
|
693
|
+
- spec/support/spec_classes.rb
|