push
circleci
2 of 7 new or added lines in 2 files covered. (28.57%)
2467 existing lines in 97 files now uncovered.1089 of 3854 relevant lines covered (28.26%)
0.29 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
|