1
- < html lang ="en ">
1
+ <!DOCTYPE html>
2
+ < html lang ='en '>
2
3
< head >
3
- < title > RSpec results</ title >
4
- < meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 ">
5
- < meta http-equiv ="Expires " content ="-1 ">
6
- < meta http-equiv ="Pragma " content ="no-cache ">
7
- < style type ="text/css ">
4
+ < title > RSpec results</ title >
5
+ < meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 " / >
6
+ < meta http-equiv ="Expires " content ="-1 " / >
7
+ < meta http-equiv ="Pragma " content ="no-cache " / >
8
+ < style type ="text/css ">
8
9
body {
9
10
margin : 0 ;
10
11
padding : 0 ;
11
12
background : # fff ;
12
13
font-size : 80% ;
13
14
}
14
15
</ style >
15
- < script type ="text/javascript ">
16
+ < script type ="text/javascript ">
16
17
// <![CDATA[
17
18
18
19
function addClass ( element_id , classname ) {
90
91
}
91
92
92
93
// ]]>
93
- </ script > < style type ="text/css ">
94
+ </ script >
95
+ < style type ="text/css ">
94
96
# rspec-header {
95
97
background : # 65C400 ; color : # fff ; height : 4em ;
96
98
}
@@ -264,48 +266,60 @@ <h1>RSpec Code Examples</h1>
264
266
</ div >
265
267
266
268
< div id ="display-filters ">
267
- < input id ="passed_checkbox " name ="passed_checkbox " type ="checkbox " checked onchange ="apply_filters() " value ="1 "> < label for ="passed_checkbox "> Passed</ label >
268
- < input id ="failed_checkbox " name ="failed_checkbox " type ="checkbox " checked onchange ="apply_filters() " value ="2 "> < label for ="failed_checkbox "> Failed</ label >
269
- < input id ="pending_checkbox " name ="pending_checkbox " type ="checkbox " checked onchange ="apply_filters() " value ="3 "> < label for ="pending_checkbox "> Pending</ label >
269
+ < input id ="passed_checkbox " name ="passed_checkbox " type ="checkbox " checked =" checked " onchange ="apply_filters() " value ="1 " /> < label for ="passed_checkbox "> Passed</ label >
270
+ < input id ="failed_checkbox " name ="failed_checkbox " type ="checkbox " checked =" checked " onchange ="apply_filters() " value ="2 " /> < label for ="failed_checkbox "> Failed</ label >
271
+ < input id ="pending_checkbox " name ="pending_checkbox " type ="checkbox " checked =" checked " onchange ="apply_filters() " value ="3 " /> < label for ="pending_checkbox "> Pending</ label >
270
272
</ div >
271
273
272
274
< div id ="summary ">
273
- < p id ="totals "> </ p >
274
- < p id ="duration "> </ p >
275
+ < p id ="totals ">   </ p >
276
+ < p id ="duration ">   </ p >
275
277
</ div >
276
278
</ div >
277
279
278
280
279
281
< div class ="results ">
280
282
< div id ="div_group_1 " class ="example_group passed ">
281
283
< dl style ="margin-left: 0px; ">
282
- < dt id ="example_group_1 " class ="passed "> pending spec with no implementation</ dt >
283
- < script type ="text/javascript "> makeYellow ( 'rspec-header' ) ; </ script > < script type ="text/javascript "> makeYellow ( 'div_group_1' ) ; </ script > < script type ="text/javascript "> makeYellow ( 'example_group_1' ) ; </ script > < script type ="text/javascript "> moveProgressBar ( '12.5' ) ; </ script > < dd class ="example not_implemented "> < span class ="not_implemented_spec_name "> is pending (PENDING: Not yet implemented)</ span > </ dd >
284
+ < dt id ="example_group_1 " class ="passed "> pending spec with no implementation</ dt >
285
+ < script type ="text/javascript "> makeYellow ( 'rspec-header' ) ; </ script >
286
+ < script type ="text/javascript "> makeYellow ( 'div_group_1' ) ; </ script >
287
+ < script type ="text/javascript "> makeYellow ( 'example_group_1' ) ; </ script >
288
+ < script type ="text/javascript "> moveProgressBar ( '12.5' ) ; </ script >
289
+ < dd class ="example not_implemented "> < span class ="not_implemented_spec_name "> is pending (PENDING: Not yet implemented)</ span > </ dd >
284
290
</ dl >
285
291
</ div >
286
292
< div id ="div_group_2 " class ="example_group passed ">
287
293
< dl style ="margin-left: 0px; ">
288
- < dt id ="example_group_2 " class ="passed "> pending command with block format</ dt >
294
+ < dt id ="example_group_2 " class ="passed "> pending command with block format</ dt >
289
295
</ dl >
290
296
</ div >
291
297
< div id ="div_group_3 " class ="example_group passed ">
292
298
< dl style ="margin-left: 15px; ">
293
- < dt id ="example_group_3 " class ="passed "> with content that would fail</ dt >
294
- < script type ="text/javascript "> makeYellow ( 'rspec-header' ) ; </ script > < script type ="text/javascript "> makeYellow ( 'div_group_3' ) ; </ script > < script type ="text/javascript "> makeYellow ( 'example_group_3' ) ; </ script > < script type ="text/javascript "> moveProgressBar ( '25.0' ) ; </ script > < dd class ="example not_implemented "> < span class ="not_implemented_spec_name "> is pending (PENDING: No reason given)</ span > </ dd >
299
+ < dt id ="example_group_3 " class ="passed "> with content that would fail</ dt >
300
+ < script type ="text/javascript "> makeYellow ( 'rspec-header' ) ; </ script >
301
+ < script type ="text/javascript "> makeYellow ( 'div_group_3' ) ; </ script >
302
+ < script type ="text/javascript "> makeYellow ( 'example_group_3' ) ; </ script >
303
+ < script type ="text/javascript "> moveProgressBar ( '25.0' ) ; </ script >
304
+ < dd class ="example not_implemented "> < span class ="not_implemented_spec_name "> is pending (PENDING: No reason given)</ span > </ dd >
295
305
</ dl >
296
306
</ div >
297
307
< div id ="div_group_4 " class ="example_group passed ">
298
308
< dl style ="margin-left: 15px; ">
299
- < dt id ="example_group_4 " class ="passed "> behaves like shared</ dt >
300
- < script type ="text/javascript "> makeRed ( 'rspec-header' ) ; </ script > < script type ="text/javascript "> makeRed ( 'div_group_4' ) ; </ script > < script type ="text/javascript "> makeRed ( 'example_group_4' ) ; </ script > < script type ="text/javascript "> moveProgressBar ( '37.5' ) ; </ script > < dd class ="example pending_fixed ">
309
+ < dt id ="example_group_4 " class ="passed "> behaves like shared</ dt >
310
+ < script type ="text/javascript "> makeRed ( 'rspec-header' ) ; </ script >
311
+ < script type ="text/javascript "> makeRed ( 'div_group_4' ) ; </ script >
312
+ < script type ="text/javascript "> makeRed ( 'example_group_4' ) ; </ script >
313
+ < script type ="text/javascript "> moveProgressBar ( '37.5' ) ; </ script >
314
+ < dd class ="example pending_fixed ">
301
315
< span class ="failed_spec_name "> is marked as pending but passes</ span >
302
316
< span class ="duration "> n.nnnns</ span >
303
317
< div class ="failure " id ="failure_1 ">
304
318
< div class ="message "> < pre > Expected example to fail since it is pending, but it passed.</ pre > </ div >
305
319
< div class ="backtrace "> < pre > ./spec/rspec/core/resources/formatter_specs.rb:4</ pre > </ div >
306
320
< pre class ="ruby "> < code > < span class ="linenum "> 2</ span >
307
- < span class ="linenum "> 3</ span > < span class ="constant "> RSpec</ span > .shared_examples_for < span class ="string "> < span class ="delimiter "> " </ span > < span class ="content "> shared</ span > < span class ="delimiter "> " </ span > </ span > < span class ="keyword "> do</ span >
308
- < span class ="offending "> < span class ="linenum "> 4</ span > it < span class ="string "> < span class ="delimiter "> " </ span > < span class ="content "> is marked as pending but passes</ span > < span class ="delimiter "> " </ span > </ span > < span class ="keyword "> do</ span > </ span >
321
+ < span class ="linenum "> 3</ span > < span class ="constant "> RSpec</ span > .shared_examples_for < span class ="string "> < span class ="delimiter "> " </ span > < span class ="content "> shared</ span > < span class ="delimiter "> " </ span > </ span > < span class ="keyword "> do</ span >
322
+ < span class ="offending "> < span class ="linenum "> 4</ span > it < span class ="string "> < span class ="delimiter "> " </ span > < span class ="content "> is marked as pending but passes</ span > < span class ="delimiter "> " </ span > </ span > < span class ="keyword "> do</ span > </ span >
309
323
< span class ="linenum "> 5</ span > pending
310
324
< span class ="linenum "> 6</ span > expect(< span class ="integer "> 1</ span > ).to eq(< span class ="integer "> 1</ span > )</ code > </ pre >
311
325
</ div >
@@ -314,16 +328,18 @@ <h1>RSpec Code Examples</h1>
314
328
</ div >
315
329
< div id ="div_group_5 " class ="example_group passed ">
316
330
< dl style ="margin-left: 0px; ">
317
- < dt id ="example_group_5 " class ="passed "> passing spec</ dt >
318
- < script type ="text/javascript "> moveProgressBar ( '50.0' ) ; </ script > < dd class ="example passed ">
319
- < span class ="passed_spec_name "> passes</ span > < span class ="duration "> n.nnnns</ span >
320
- </ dd >
331
+ < dt id ="example_group_5 " class ="passed "> passing spec</ dt >
332
+ < script type ="text/javascript "> moveProgressBar ( '50.0' ) ; </ script >
333
+ < dd class ="example passed "> < span class ="passed_spec_name "> passes</ span > < span class ='duration '> n.nnnns</ span > </ dd >
321
334
</ dl >
322
335
</ div >
323
336
< div id ="div_group_6 " class ="example_group passed ">
324
337
< dl style ="margin-left: 0px; ">
325
- < dt id ="example_group_6 " class ="passed "> failing spec</ dt >
326
- < script type ="text/javascript "> makeRed ( 'div_group_6' ) ; </ script > < script type ="text/javascript "> makeRed ( 'example_group_6' ) ; </ script > < script type ="text/javascript "> moveProgressBar ( '62.5' ) ; </ script > < dd class ="example failed ">
338
+ < dt id ="example_group_6 " class ="passed "> failing spec</ dt >
339
+ < script type ="text/javascript "> makeRed ( 'div_group_6' ) ; </ script >
340
+ < script type ="text/javascript "> makeRed ( 'example_group_6' ) ; </ script >
341
+ < script type ="text/javascript "> moveProgressBar ( '62.5' ) ; </ script >
342
+ < dd class ="example failed ">
327
343
< span class ="failed_spec_name "> fails</ span >
328
344
< span class ="duration "> n.nnnns</ span >
329
345
< div class ="failure " id ="failure_2 ">
@@ -333,9 +349,9 @@ <h1>RSpec Code Examples</h1>
333
349
334
350
(compared using ==)
335
351
</ pre > </ div >
336
- < div class ="backtrace "> < pre > ./spec/rspec/core/resources/formatter_specs.rb:33</ pre > </ div >
337
- < pre class ="ruby "> < code > < span class ="linenum "> 31</ span > < span class ="constant "> RSpec</ span > .describe < span class ="string "> < span class ="delimiter "> " </ span > < span class ="content "> failing spec</ span > < span class ="delimiter "> " </ span > </ span > < span class ="keyword "> do</ span >
338
- < span class ="linenum "> 32</ span > it < span class ="string "> < span class ="delimiter "> " </ span > < span class ="content "> fails</ span > < span class ="delimiter "> " </ span > </ span > < span class ="keyword "> do</ span >
352
+ < div class ="backtrace "> < pre > ./spec/rspec/core/resources/formatter_specs.rb:33:in `block (2 levels) in <top (required)>' </ pre > </ div >
353
+ < pre class ="ruby "> < code > < span class ="linenum "> 31</ span > < span class ="constant "> RSpec</ span > .describe < span class ="string "> < span class ="delimiter "> " </ span > < span class ="content "> failing spec</ span > < span class ="delimiter "> " </ span > </ span > < span class ="keyword "> do</ span >
354
+ < span class ="linenum "> 32</ span > it < span class ="string "> < span class ="delimiter "> " </ span > < span class ="content "> fails</ span > < span class ="delimiter "> " </ span > </ span > < span class ="keyword "> do</ span >
339
355
< span class ="offending "> < span class ="linenum "> 33</ span > expect(< span class ="integer "> 1</ span > ).to eq(< span class ="integer "> 2</ span > )</ span >
340
356
< span class ="linenum "> 34</ span > < span class ="keyword "> end</ span >
341
357
< span class ="linenum "> 35</ span > < span class ="keyword "> end</ span > </ code > </ pre >
@@ -345,17 +361,21 @@ <h1>RSpec Code Examples</h1>
345
361
</ div >
346
362
< div id ="div_group_7 " class ="example_group passed ">
347
363
< dl style ="margin-left: 0px; ">
348
- < dt id ="example_group_7 " class ="passed "> a failing spec with odd backtraces</ dt >
349
- < script type ="text/javascript "> makeRed ( 'div_group_7' ) ; </ script > < script type ="text/javascript "> makeRed ( 'example_group_7' ) ; </ script > < script type ="text/javascript "> moveProgressBar ( '75.0' ) ; </ script > < dd class ="example failed ">
364
+ < dt id ="example_group_7 " class ="passed "> a failing spec with odd backtraces</ dt >
365
+ < script type ="text/javascript "> makeRed ( 'div_group_7' ) ; </ script >
366
+ < script type ="text/javascript "> makeRed ( 'example_group_7' ) ; </ script >
367
+ < script type ="text/javascript "> moveProgressBar ( '75.0' ) ; </ script >
368
+ < dd class ="example failed ">
350
369
< span class ="failed_spec_name "> fails with a backtrace that has no file</ span >
351
370
< span class ="duration "> n.nnnns</ span >
352
371
< div class ="failure " id ="failure_3 ">
353
372
< div class ="message "> < pre > foo</ pre > </ div >
354
- < div class ="backtrace "> < pre > ./spec/rspec/core/resources/formatter_specs.rb:41</ pre > </ div >
373
+ < div class ="backtrace "> < pre > ./spec/rspec/core/resources/formatter_specs.rb:41:in `block (2 levels) in <top (required)>' </ pre > </ div >
355
374
< pre class ="ruby "> < code > < span class ="linenum "> -1</ span > < span class ="comment "> # Couldn't get snippet for (erb)</ span > </ code > </ pre >
356
375
</ div >
357
376
</ dd >
358
- < script type ="text/javascript "> moveProgressBar ( '87.5' ) ; </ script > < dd class ="example failed ">
377
+ < script type ="text/javascript "> moveProgressBar ( '87.5' ) ; </ script >
378
+ < dd class ="example failed ">
359
379
< span class ="failed_spec_name "> fails with a backtrace containing an erb file</ span >
360
380
< span class ="duration "> n.nnnns</ span >
361
381
< div class ="failure " id ="failure_4 ">
@@ -368,8 +388,11 @@ <h1>RSpec Code Examples</h1>
368
388
</ div >
369
389
< div id ="div_group_8 " class ="example_group passed ">
370
390
< dl style ="margin-left: 15px; ">
371
- < dt id ="example_group_8 " class ="passed "> with a `nil` backtrace</ dt >
372
- < script type ="text/javascript "> makeRed ( 'div_group_8' ) ; </ script > < script type ="text/javascript "> makeRed ( 'example_group_8' ) ; </ script > < script type ="text/javascript "> moveProgressBar ( '100.0' ) ; </ script > < dd class ="example failed ">
391
+ < dt id ="example_group_8 " class ="passed "> with a `nil` backtrace</ dt >
392
+ < script type ="text/javascript "> makeRed ( 'div_group_8' ) ; </ script >
393
+ < script type ="text/javascript "> makeRed ( 'example_group_8' ) ; </ script >
394
+ < script type ="text/javascript "> moveProgressBar ( '100.0' ) ; </ script >
395
+ < dd class ="example failed ">
373
396
< span class ="failed_spec_name "> raises</ span >
374
397
< span class ="duration "> n.nnnns</ span >
375
398
< div class ="failure " id ="failure_5 ">
@@ -380,8 +403,9 @@ <h1>RSpec Code Examples</h1>
380
403
</ dd >
381
404
</ dl >
382
405
</ div >
383
- < script type ="text/javascript "> document . getElementById ( 'duration' ) . innerHTML = "Finished in <strong>n.nnnn seconds</strong>" ; </ script > < script type ="text/javascript "> document . getElementById ( 'totals' ) . innerHTML = "8 examples, 5 failures, 2 pending" ; </ script >
406
+ < script type ="text/javascript "> document . getElementById ( 'duration' ) . innerHTML = "Finished in <strong>n.nnnn seconds</strong>" ; </ script >
407
+ < script type ="text/javascript "> document . getElementById ( 'totals' ) . innerHTML = "8 examples, 5 failures, 2 pending" ; </ script >
384
408
</ div >
385
409
</ div >
386
410
</ body >
387
- </ html >
411
+ </ html >
0 commit comments