push
circleci
4 of 4 new or added lines in 1 file covered. (100.0%)
448 existing lines in 39 files now uncovered.2946 of 3139 relevant lines covered (93.85%)
51.04 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
|