push
circleci
1 of 1 new or added line in 1 file covered. (100.0%)
220 existing lines in 42 files now uncovered.3031 of 3244 relevant lines covered (93.43%)
51.48 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
|