-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathindex.html
4202 lines (2498 loc) · 127 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Code coverage for Coderticket</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script src='./assets/0.10.0/application.js' type='text/javascript'></script>
<link href='./assets/0.10.0/application.css' media='screen, projection, print' rel='stylesheet' type='text/css'>
<link rel="shortcut icon" type="image/png" href="./assets/0.10.0/favicon_green.png" />
<link rel="icon" type="image/png" href="./assets/0.10.0/favicon.png" />
</head>
<body>
<div id="loading">
<img src="./assets/0.10.0/loading.gif" alt="loading"/>
</div>
<div id="wrapper" style="display:none;">
<div class="timestamp">Generated <abbr class="timeago" title="2016-10-28T13:23:17+08:00">2016-10-28T13:23:17+08:00</abbr></div>
<ul class="group_tabs"></ul>
<div id="content">
<div class="file_list_container" id="AllFiles">
<h2>
<span class="group_name">All Files</span>
(<span class="covered_percent"><span class="green">98.84%</span></span>
covered at
<span class="covered_strength">
<span class="red">
1.0
</span>
</span> hits/line)
</h2>
<a name="AllFiles"></a>
<div>
<b>20</b> files in total.
<b>172</b> relevant lines.
<span class="green"><b>170</b> lines covered</span> and
<span class="red"><b>2</b> lines missed </span>
</div>
<table class="file_list">
<thead>
<tr>
<th>File</th>
<th>% covered</th>
<th>Lines</th>
<th>Relevant Lines</th>
<th>Lines covered</th>
<th>Lines missed</th>
<th>Avg. Hits / Line</th>
</tr>
</thead>
<tbody>
<tr>
<td class="strong"><a href="#60ebb02402642373254eaa1095d205c2bd201fa6" class="src_link" title="app/helpers/application_helper.rb">app/helpers/application_helper.rb</a></td>
<td class="green strong">100.0 %</td>
<td>2</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>1.0</td>
</tr>
<tr>
<td class="strong"><a href="#5d340a3df01211b005ab37c7a8ef9d14e588d914" class="src_link" title="app/helpers/events_helper.rb">app/helpers/events_helper.rb</a></td>
<td class="red strong">66.67 %</td>
<td>5</td>
<td>3</td>
<td>2</td>
<td>1</td>
<td>0.7</td>
</tr>
<tr>
<td class="strong"><a href="#1f00e3a151d8cf519b8adce8c0fd0dfa9f726ded" class="src_link" title="app/helpers/tickets_helper.rb">app/helpers/tickets_helper.rb</a></td>
<td class="green strong">100.0 %</td>
<td>2</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>1.0</td>
</tr>
<tr>
<td class="strong"><a href="#1762feda9e13299069e840bae03a311d16f18ac4" class="src_link" title="config/application.rb">config/application.rb</a></td>
<td class="green strong">100.0 %</td>
<td>26</td>
<td>6</td>
<td>6</td>
<td>0</td>
<td>1.0</td>
</tr>
<tr>
<td class="strong"><a href="#edaad111e4a78a43a7979cab723461dad6fa7973" class="src_link" title="config/boot.rb">config/boot.rb</a></td>
<td class="yellow strong">87.5 %</td>
<td>14</td>
<td>8</td>
<td>7</td>
<td>1</td>
<td>0.9</td>
</tr>
<tr>
<td class="strong"><a href="#af509654329d8b3ebd5c2136b4b1a2dd65614cb7" class="src_link" title="config/environment.rb">config/environment.rb</a></td>
<td class="green strong">100.0 %</td>
<td>5</td>
<td>2</td>
<td>2</td>
<td>0</td>
<td>1.0</td>
</tr>
<tr>
<td class="strong"><a href="#3a758fa07a3f4aff8b3db954b2a66cbaaa3fcfe6" class="src_link" title="config/environments/test.rb">config/environments/test.rb</a></td>
<td class="green strong">100.0 %</td>
<td>42</td>
<td>12</td>
<td>12</td>
<td>0</td>
<td>1.0</td>
</tr>
<tr>
<td class="strong"><a href="#06613e7351b9b7e3a7eb5cc2b7c1e1e7f096aee3" class="src_link" title="config/initializers/assets.rb">config/initializers/assets.rb</a></td>
<td class="green strong">100.0 %</td>
<td>11</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>1.0</td>
</tr>
<tr>
<td class="strong"><a href="#fce64b2d22b68e76a6ce5d82049cde992548e300" class="src_link" title="config/initializers/backtrace_silencers.rb">config/initializers/backtrace_silencers.rb</a></td>
<td class="green strong">100.0 %</td>
<td>7</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0.0</td>
</tr>
<tr>
<td class="strong"><a href="#236a7f24647edd11757e3110c8081c993dd64edf" class="src_link" title="config/initializers/cookies_serializer.rb">config/initializers/cookies_serializer.rb</a></td>
<td class="green strong">100.0 %</td>
<td>3</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>1.0</td>
</tr>
<tr>
<td class="strong"><a href="#e034910a566e72ca6aadabce7da4e4033b3cc47a" class="src_link" title="config/initializers/filter_parameter_logging.rb">config/initializers/filter_parameter_logging.rb</a></td>
<td class="green strong">100.0 %</td>
<td>4</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>1.0</td>
</tr>
<tr>
<td class="strong"><a href="#784a3d2e27ba30bcb98a7ddc5c3b873333ee3e7a" class="src_link" title="config/initializers/inflections.rb">config/initializers/inflections.rb</a></td>
<td class="green strong">100.0 %</td>
<td>16</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0.0</td>
</tr>
<tr>
<td class="strong"><a href="#9d803dcc39d6ced8992a223f308d8124acea9c9c" class="src_link" title="config/initializers/mime_types.rb">config/initializers/mime_types.rb</a></td>
<td class="green strong">100.0 %</td>
<td>4</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0.0</td>
</tr>
<tr>
<td class="strong"><a href="#a261af89a6676b7a956b6b67526e1872fb3d0967" class="src_link" title="config/initializers/session_store.rb">config/initializers/session_store.rb</a></td>
<td class="green strong">100.0 %</td>
<td>3</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>1.0</td>
</tr>
<tr>
<td class="strong"><a href="#4b928b9456673b2b135e5532b7a1e45f0a4a7bd9" class="src_link" title="config/initializers/simple_form.rb">config/initializers/simple_form.rb</a></td>
<td class="green strong">100.0 %</td>
<td>165</td>
<td>18</td>
<td>18</td>
<td>0</td>
<td>1.0</td>
</tr>
<tr>
<td class="strong"><a href="#ec987f44ccf1c74d2812b4da3e88e93db31f27cb" class="src_link" title="config/initializers/simple_form_bootstrap.rb">config/initializers/simple_form_bootstrap.rb</a></td>
<td class="green strong">100.0 %</td>
<td>149</td>
<td>97</td>
<td>97</td>
<td>0</td>
<td>1.0</td>
</tr>
<tr>
<td class="strong"><a href="#a678a8ac754c36cc277548c237a7a83ce86b0cc5" class="src_link" title="config/initializers/wrap_parameters.rb">config/initializers/wrap_parameters.rb</a></td>
<td class="green strong">100.0 %</td>
<td>14</td>
<td>2</td>
<td>2</td>
<td>0</td>
<td>1.5</td>
</tr>
<tr>
<td class="strong"><a href="#9d9f98c195b8f60e59af8a86541ab26424ed02f7" class="src_link" title="config/routes.rb">config/routes.rb</a></td>
<td class="green strong">100.0 %</td>
<td>61</td>
<td>4</td>
<td>4</td>
<td>0</td>
<td>1.0</td>
</tr>
<tr>
<td class="strong"><a href="#393a89a2d50c9e422b84f0fc1ba0c9a4b49c6146" class="src_link" title="spec/rails_helper.rb">spec/rails_helper.rb</a></td>
<td class="green strong">100.0 %</td>
<td>57</td>
<td>11</td>
<td>11</td>
<td>0</td>
<td>1.0</td>
</tr>
<tr>
<td class="strong"><a href="#e1aea0baeabbdd006d3d559d239cc544b7f8a6c5" class="src_link" title="spec/routes/events_spec.rb">spec/routes/events_spec.rb</a></td>
<td class="green strong">100.0 %</td>
<td>5</td>
<td>3</td>
<td>3</td>
<td>0</td>
<td>1.0</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="footer">
Generated by <a href="http://github.com/colszowka/simplecov">simplecov</a> v0.12.0
and simplecov-html v0.10.0<br/>
using RSpec
</div>
<div class="source_files">
<div class="source_table" id="60ebb02402642373254eaa1095d205c2bd201fa6">
<div class="header">
<h3>app/helpers/application_helper.rb</h3>
<h4><span class="green">100.0 %</span> covered</h4>
<div>
<b>1</b> relevant lines.
<span class="green"><b>1</b> lines covered</span> and
<span class="red"><b>0</b> lines missed.</span>
</div>
</div>
<pre>
<ol>
<li class="covered" data-hits="1" data-linenumber="1">
<span class="hits">1</span>
<code class="ruby">module ApplicationHelper</code>
</li>
<li class="never" data-hits="" data-linenumber="2">
<code class="ruby">end</code>
</li>
</ol>
</pre>
</div>
<div class="source_table" id="5d340a3df01211b005ab37c7a8ef9d14e588d914">
<div class="header">
<h3>app/helpers/events_helper.rb</h3>
<h4><span class="red">66.67 %</span> covered</h4>
<div>
<b>3</b> relevant lines.
<span class="green"><b>2</b> lines covered</span> and
<span class="red"><b>1</b> lines missed.</span>
</div>
</div>
<pre>
<ol>
<li class="covered" data-hits="1" data-linenumber="1">
<span class="hits">1</span>
<code class="ruby">module EventsHelper</code>
</li>
<li class="covered" data-hits="1" data-linenumber="2">
<span class="hits">1</span>
<code class="ruby"> def header_background_image_url</code>
</li>
<li class="missed" data-hits="0" data-linenumber="3">
<code class="ruby"> "https://az810058.vo.msecnd.net/site/global/Content/img/home-search-bg-0#{rand(6)}.jpg"</code>
</li>
<li class="never" data-hits="" data-linenumber="4">
<code class="ruby"> end</code>
</li>
<li class="never" data-hits="" data-linenumber="5">
<code class="ruby">end</code>
</li>
</ol>
</pre>
</div>
<div class="source_table" id="1f00e3a151d8cf519b8adce8c0fd0dfa9f726ded">
<div class="header">
<h3>app/helpers/tickets_helper.rb</h3>
<h4><span class="green">100.0 %</span> covered</h4>
<div>
<b>1</b> relevant lines.
<span class="green"><b>1</b> lines covered</span> and
<span class="red"><b>0</b> lines missed.</span>
</div>
</div>
<pre>
<ol>
<li class="covered" data-hits="1" data-linenumber="1">
<span class="hits">1</span>
<code class="ruby">module TicketsHelper</code>
</li>
<li class="never" data-hits="" data-linenumber="2">
<code class="ruby">end</code>
</li>
</ol>
</pre>
</div>
<div class="source_table" id="1762feda9e13299069e840bae03a311d16f18ac4">
<div class="header">
<h3>config/application.rb</h3>
<h4><span class="green">100.0 %</span> covered</h4>
<div>
<b>6</b> relevant lines.
<span class="green"><b>6</b> lines covered</span> and
<span class="red"><b>0</b> lines missed.</span>
</div>
</div>
<pre>
<ol>
<li class="covered" data-hits="1" data-linenumber="1">
<span class="hits">1</span>
<code class="ruby">require File.expand_path('../boot', __FILE__)</code>
</li>
<li class="never" data-hits="" data-linenumber="2">
<code class="ruby"></code>
</li>
<li class="covered" data-hits="1" data-linenumber="3">
<span class="hits">1</span>
<code class="ruby">require 'rails/all'</code>
</li>
<li class="never" data-hits="" data-linenumber="4">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="5">
<code class="ruby"># Require the gems listed in Gemfile, including any gems</code>
</li>
<li class="never" data-hits="" data-linenumber="6">
<code class="ruby"># you've limited to :test, :development, or :production.</code>
</li>
<li class="covered" data-hits="1" data-linenumber="7">
<span class="hits">1</span>
<code class="ruby">Bundler.require(*Rails.groups)</code>
</li>
<li class="never" data-hits="" data-linenumber="8">
<code class="ruby"></code>
</li>
<li class="covered" data-hits="1" data-linenumber="9">
<span class="hits">1</span>
<code class="ruby">module CsTemplate</code>
</li>
<li class="covered" data-hits="1" data-linenumber="10">
<span class="hits">1</span>
<code class="ruby"> class Application < Rails::Application</code>
</li>
<li class="never" data-hits="" data-linenumber="11">
<code class="ruby"> # Settings in config/environments/* take precedence over those specified here.</code>
</li>
<li class="never" data-hits="" data-linenumber="12">
<code class="ruby"> # Application configuration should go into files in config/initializers</code>
</li>
<li class="never" data-hits="" data-linenumber="13">
<code class="ruby"> # -- all .rb files in that directory are automatically loaded.</code>
</li>
<li class="never" data-hits="" data-linenumber="14">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="15">
<code class="ruby"> # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.</code>
</li>
<li class="never" data-hits="" data-linenumber="16">
<code class="ruby"> # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.</code>
</li>
<li class="never" data-hits="" data-linenumber="17">
<code class="ruby"> # config.time_zone = 'Central Time (US & Canada)'</code>
</li>
<li class="never" data-hits="" data-linenumber="18">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="19">
<code class="ruby"> # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.</code>
</li>
<li class="never" data-hits="" data-linenumber="20">
<code class="ruby"> # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]</code>
</li>
<li class="never" data-hits="" data-linenumber="21">
<code class="ruby"> # config.i18n.default_locale = :de</code>
</li>
<li class="never" data-hits="" data-linenumber="22">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="23">
<code class="ruby"> # Do not swallow errors in after_commit/after_rollback callbacks.</code>
</li>
<li class="covered" data-hits="1" data-linenumber="24">
<span class="hits">1</span>
<code class="ruby"> config.active_record.raise_in_transactional_callbacks = true</code>
</li>
<li class="never" data-hits="" data-linenumber="25">
<code class="ruby"> end</code>
</li>
<li class="never" data-hits="" data-linenumber="26">
<code class="ruby">end</code>
</li>
</ol>
</pre>
</div>
<div class="source_table" id="edaad111e4a78a43a7979cab723461dad6fa7973">
<div class="header">
<h3>config/boot.rb</h3>
<h4><span class="yellow">87.5 %</span> covered</h4>
<div>
<b>8</b> relevant lines.
<span class="green"><b>7</b> lines covered</span> and
<span class="red"><b>1</b> lines missed.</span>
</div>
</div>
<pre>
<ol>
<li class="covered" data-hits="1" data-linenumber="1">
<span class="hits">1</span>
<code class="ruby">ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)</code>
</li>
<li class="never" data-hits="" data-linenumber="2">
<code class="ruby"></code>
</li>
<li class="covered" data-hits="1" data-linenumber="3">
<span class="hits">1</span>
<code class="ruby">require 'bundler/setup' # Set up gems listed in the Gemfile.</code>
</li>
<li class="never" data-hits="" data-linenumber="4">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="5">
<code class="ruby"># Custom for rails server</code>
</li>
<li class="covered" data-hits="1" data-linenumber="6">
<span class="hits">1</span>
<code class="ruby">require 'rails/commands/server'</code>
</li>
<li class="covered" data-hits="1" data-linenumber="7">
<span class="hits">1</span>
<code class="ruby">module Rails</code>
</li>
<li class="covered" data-hits="1" data-linenumber="8">
<span class="hits">1</span>
<code class="ruby"> class Server</code>
</li>
<li class="covered" data-hits="1" data-linenumber="9">
<span class="hits">1</span>
<code class="ruby"> alias :default_options_bk :default_options</code>
</li>
<li class="covered" data-hits="1" data-linenumber="10">
<span class="hits">1</span>
<code class="ruby"> def default_options</code>
</li>
<li class="missed" data-hits="0" data-linenumber="11">
<code class="ruby"> default_options_bk.merge!(Host: '0.0.0.0')</code>
</li>
<li class="never" data-hits="" data-linenumber="12">
<code class="ruby"> end</code>
</li>
<li class="never" data-hits="" data-linenumber="13">
<code class="ruby"> end</code>
</li>
<li class="never" data-hits="" data-linenumber="14">
<code class="ruby">end</code>
</li>
</ol>
</pre>
</div>
<div class="source_table" id="af509654329d8b3ebd5c2136b4b1a2dd65614cb7">
<div class="header">
<h3>config/environment.rb</h3>
<h4><span class="green">100.0 %</span> covered</h4>
<div>
<b>2</b> relevant lines.
<span class="green"><b>2</b> lines covered</span> and
<span class="red"><b>0</b> lines missed.</span>
</div>
</div>
<pre>
<ol>
<li class="never" data-hits="" data-linenumber="1">
<code class="ruby"># Load the Rails application.</code>
</li>
<li class="covered" data-hits="1" data-linenumber="2">
<span class="hits">1</span>
<code class="ruby">require File.expand_path('../application', __FILE__)</code>
</li>
<li class="never" data-hits="" data-linenumber="3">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="4">
<code class="ruby"># Initialize the Rails application.</code>
</li>
<li class="covered" data-hits="1" data-linenumber="5">
<span class="hits">1</span>
<code class="ruby">Rails.application.initialize!</code>
</li>
</ol>
</pre>
</div>
<div class="source_table" id="3a758fa07a3f4aff8b3db954b2a66cbaaa3fcfe6">
<div class="header">
<h3>config/environments/test.rb</h3>
<h4><span class="green">100.0 %</span> covered</h4>
<div>
<b>12</b> relevant lines.
<span class="green"><b>12</b> lines covered</span> and
<span class="red"><b>0</b> lines missed.</span>
</div>
</div>
<pre>
<ol>
<li class="covered" data-hits="1" data-linenumber="1">
<span class="hits">1</span>
<code class="ruby">Rails.application.configure do</code>
</li>
<li class="never" data-hits="" data-linenumber="2">
<code class="ruby"> # Settings specified here will take precedence over those in config/application.rb.</code>
</li>
<li class="never" data-hits="" data-linenumber="3">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="4">
<code class="ruby"> # The test environment is used exclusively to run your application's</code>
</li>
<li class="never" data-hits="" data-linenumber="5">
<code class="ruby"> # test suite. You never need to work with it otherwise. Remember that</code>
</li>
<li class="never" data-hits="" data-linenumber="6">
<code class="ruby"> # your test database is "scratch space" for the test suite and is wiped</code>
</li>
<li class="never" data-hits="" data-linenumber="7">
<code class="ruby"> # and recreated between test runs. Don't rely on the data there!</code>
</li>
<li class="covered" data-hits="1" data-linenumber="8">
<span class="hits">1</span>
<code class="ruby"> config.cache_classes = true</code>
</li>
<li class="never" data-hits="" data-linenumber="9">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="10">
<code class="ruby"> # Do not eager load code on boot. This avoids loading your whole application</code>
</li>
<li class="never" data-hits="" data-linenumber="11">
<code class="ruby"> # just for the purpose of running a single test. If you are using a tool that</code>
</li>
<li class="never" data-hits="" data-linenumber="12">
<code class="ruby"> # preloads Rails for running tests, you may have to set it to true.</code>
</li>
<li class="covered" data-hits="1" data-linenumber="13">
<span class="hits">1</span>
<code class="ruby"> config.eager_load = false</code>
</li>
<li class="never" data-hits="" data-linenumber="14">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="15">
<code class="ruby"> # Configure static file server for tests with Cache-Control for performance.</code>
</li>
<li class="covered" data-hits="1" data-linenumber="16">
<span class="hits">1</span>
<code class="ruby"> config.serve_static_files = true</code>
</li>
<li class="covered" data-hits="1" data-linenumber="17">
<span class="hits">1</span>
<code class="ruby"> config.static_cache_control = 'public, max-age=3600'</code>
</li>
<li class="never" data-hits="" data-linenumber="18">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="19">
<code class="ruby"> # Show full error reports and disable caching.</code>
</li>
<li class="covered" data-hits="1" data-linenumber="20">
<span class="hits">1</span>
<code class="ruby"> config.consider_all_requests_local = true</code>
</li>
<li class="covered" data-hits="1" data-linenumber="21">
<span class="hits">1</span>
<code class="ruby"> config.action_controller.perform_caching = false</code>
</li>
<li class="never" data-hits="" data-linenumber="22">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="23">
<code class="ruby"> # Raise exceptions instead of rendering exception templates.</code>
</li>
<li class="covered" data-hits="1" data-linenumber="24">
<span class="hits">1</span>
<code class="ruby"> config.action_dispatch.show_exceptions = false</code>
</li>
<li class="never" data-hits="" data-linenumber="25">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="26">
<code class="ruby"> # Disable request forgery protection in test environment.</code>
</li>
<li class="covered" data-hits="1" data-linenumber="27">
<span class="hits">1</span>
<code class="ruby"> config.action_controller.allow_forgery_protection = false</code>
</li>
<li class="never" data-hits="" data-linenumber="28">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="29">
<code class="ruby"> # Tell Action Mailer not to deliver emails to the real world.</code>
</li>
<li class="never" data-hits="" data-linenumber="30">
<code class="ruby"> # The :test delivery method accumulates sent emails in the</code>
</li>
<li class="never" data-hits="" data-linenumber="31">
<code class="ruby"> # ActionMailer::Base.deliveries array.</code>
</li>
<li class="covered" data-hits="1" data-linenumber="32">
<span class="hits">1</span>
<code class="ruby"> config.action_mailer.delivery_method = :test</code>
</li>
<li class="never" data-hits="" data-linenumber="33">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="34">
<code class="ruby"> # Randomize the order test cases are executed.</code>
</li>
<li class="covered" data-hits="1" data-linenumber="35">
<span class="hits">1</span>
<code class="ruby"> config.active_support.test_order = :random</code>
</li>
<li class="never" data-hits="" data-linenumber="36">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="37">
<code class="ruby"> # Print deprecation notices to the stderr.</code>
</li>
<li class="covered" data-hits="1" data-linenumber="38">
<span class="hits">1</span>
<code class="ruby"> config.active_support.deprecation = :stderr</code>
</li>
<li class="never" data-hits="" data-linenumber="39">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="40">
<code class="ruby"> # Raises error for missing translations</code>
</li>
<li class="never" data-hits="" data-linenumber="41">
<code class="ruby"> # config.action_view.raise_on_missing_translations = true</code>
</li>
<li class="never" data-hits="" data-linenumber="42">
<code class="ruby">end</code>
</li>
</ol>
</pre>
</div>
<div class="source_table" id="06613e7351b9b7e3a7eb5cc2b7c1e1e7f096aee3">
<div class="header">
<h3>config/initializers/assets.rb</h3>
<h4><span class="green">100.0 %</span> covered</h4>
<div>
<b>1</b> relevant lines.
<span class="green"><b>1</b> lines covered</span> and
<span class="red"><b>0</b> lines missed.</span>
</div>
</div>
<pre>
<ol>
<li class="never" data-hits="" data-linenumber="1">
<code class="ruby"># Be sure to restart your server when you modify this file.</code>
</li>
<li class="never" data-hits="" data-linenumber="2">
<code class="ruby"></code>
</li>
<li class="never" data-hits="" data-linenumber="3">
<code class="ruby"># Version of your assets, change this if you want to expire all your assets.</code>