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