Skip to content

Commit 11109ff

Browse files
committed
Make test scenario compatible with PR #5
1 parent 48c0a24 commit 11109ff

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

test/lib/rails_stats/code_statistics_test.rb

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,23 @@
55
describe RailsStats::CodeStatistics do
66
describe "#to_s" do
77
TABLE = <<~EOS
8-
+----------------------+-------+-------+---------+---------+-----+-------+
9-
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
10-
+----------------------+-------+-------+---------+---------+-----+-------+
11-
| Mailers | 4 | 4 | 1 | 0 | 0 | 0 |
12-
| Models | 3 | 3 | 1 | 0 | 0 | 0 |
13-
| Javascripts | 27 | 7 | 0 | 0 | 0 | 0 |
14-
| Jobs | 7 | 2 | 1 | 0 | 0 | 0 |
15-
| Controllers | 3 | 3 | 1 | 0 | 0 | 0 |
16-
| Helpers | 3 | 3 | 0 | 0 | 0 | 0 |
17-
| Channels | 8 | 8 | 2 | 0 | 0 | 0 |
18-
| Configuration | 417 | 111 | 1 | 0 | 0 | 0 |
19-
+----------------------+-------+-------+---------+---------+-----+-------+
20-
| Total | 472 | 141 | 7 | 0 | 0 | 0 |
21-
+----------------------+-------+-------+---------+---------+-----+-------+
22-
Code LOC: 141 Test LOC: 0 Code to Test Ratio: 1:0.0
8+
+----------------------+---------+---------+---------+---------+-----+-------+
9+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
10+
+----------------------+---------+---------+---------+---------+-----+-------+
11+
| Mailers | 4 | 4 | 1 | 0 | 0 | 0 |
12+
| Models | 3 | 3 | 1 | 0 | 0 | 0 |
13+
| Javascripts | 27 | 7 | 0 | 0 | 0 | 0 |
14+
| Jobs | 7 | 2 | 1 | 0 | 0 | 0 |
15+
| Controllers | 3 | 3 | 1 | 0 | 0 | 0 |
16+
| Helpers | 3 | 3 | 0 | 0 | 0 | 0 |
17+
| Channels | 8 | 8 | 2 | 0 | 0 | 0 |
18+
| Configuration | 417 | 111 | 1 | 0 | 0 | 0 |
19+
+----------------------+---------+---------+---------+---------+-----+-------+
20+
| Code | 472 | 141 | 7 | 0 | 0 | 0 |
21+
| Tests | 0 | 0 | 0 | 0 | 0 | 0 |
22+
| Total | 472 | 141 | 7 | 0 | 0 | 0 |
23+
+----------------------+---------+---------+---------+---------+-----+-------+
24+
Code LOC: 141 Test LOC: 0 Code to Test Ratio: 1:0.0
2325
2426
EOS
2527

0 commit comments

Comments
 (0)