circleci
1 of 3 new or added lines in 1 file covered. (33.33%)
2215 existing lines in 93 files now uncovered.1294 of 3804 relevant lines covered (34.02%)
0.99 hits per line
| 1 |
module ApplicationHelper |
1✔ |
| 2 |
def bootstrap_class_for(flash_type) |
1✔ |
|
UNCOV
3
|
case flash_type
|
× |
| 4 |
when 'success' |
|
|
UNCOV
5
|
'alert-success' # Green |
× |
| 6 |
when 'error' |
|
|
UNCOV
7
|
'alert-danger' # Red |
× |
| 8 |
when 'alert' |
|
|
UNCOV
9
|
'alert-warning' # Yellow |
× |
| 10 |
when 'notice' |
|
|
UNCOV
11
|
'alert-info' # Blue |
× |
| 12 |
else
|
|
|
UNCOV
13
|
flash_type.to_s |
× |
| 14 |
end
|
|
| 15 |
end
|
|
| 16 |
end
|