push
travis-ci
3 of 3 new or added lines in 2 files covered. (100.0%)
1984 existing lines in 133 files now uncovered.18679 of 30010 relevant lines covered (62.24%)
191.38 hits per line
1 |
module DownloadsHelper |
4✔ |
2 |
def download_tag(download) |
4✔ |
UNCOV
3
|
return nil if download.nil? |
× |
UNCOV
4
|
"[#{download.name}] #{download.description}"
|
× |
5 |
end
|
|
6 |
|
|
7 |
def download_link(download) |
4✔ |
UNCOV
8
|
return nil if download.nil? |
× |
UNCOV
9
|
link_to(download_tag(download), download) |
× |
10 |
end
|
|
11 |
end
|