push
circleci
5 of 5 new or added lines in 2 files covered. (100.0%)
211 existing lines in 17 files now uncovered.3033 of 3246 relevant lines covered (93.44%)
52.2 hits per line
1 |
class EtdFileSetPresenter < Hyrax::FileSetPresenter |
4✔ |
2 |
delegate :pcdm_use,
|
4✔ |
3 |
:description,
|
|
4 |
to: :solr_document |
|
5 |
|
|
6 |
def primary? |
4✔ |
7 |
solr_document.fetch("pcdm_use_tesim", []).include?("primary") |
20✔ |
8 |
end
|
|
9 |
|
|
10 |
def supplementary? |
4✔ |
11 |
!primary? |
× |
12 |
end
|
|
13 |
|
|
14 |
def permission_badge |
4✔ |
UNCOV
15
|
""
|
2✔ |
16 |
end
|
|
17 |
|
|
18 |
def link_name |
4✔ |
19 |
first_title |
20✔ |
20 |
end
|
|
21 |
end
|