• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / orangelight / 8635f6de-7d1b-4737-b521-3581575892dc

24 Jul 2025 07:37PM UTC coverage: 95.167% (-0.2%) from 95.407%
8635f6de-7d1b-4737-b521-3581575892dc

Pull #4962

circleci

web-flow
Center 'See X more locations' text in card (#5056)

Co-authored-by: Ryan Jensen <rj1044@princeton.edu>
Pull Request #4962: Orangelight pos workcycle 07-07-2025

140 of 143 new or added lines in 16 files covered. (97.9%)

16 existing lines in 5 files now uncovered.

6085 of 6394 relevant lines covered (95.17%)

1512.86 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

94.12
/app/components/holdings/physical_holding_component.rb
1
# frozen_string_literal: true
2

3
# This component is responsible for showing the details of a physical
4
# holding (such as on the show page)
5
class Holdings::PhysicalHoldingComponent < ViewComponent::Base
3✔
6
  def initialize(adapter, holding_id, holding)
3✔
7
    @adapter = adapter
185✔
8
    @holding_id = holding_id
185✔
9
    @holding = holding
185✔
10
  end
11

12
  private
3✔
13

14
    attr_reader :adapter, :holding_id, :holding
3✔
15

16
    def cn_value
3✔
17
      adapter.call_number(holding)
185✔
18
    end
19

20
    def doc_id
3✔
21
      holding["mms_id"] || adapter.doc_id
172✔
22
    end
23

24
    def holding_loc
3✔
UNCOV
25
      adapter.holding_location_label(holding)
×
26
    end
27

28
    def location_rules
3✔
29
      adapter.holding_location_rules(holding)
341✔
30
    end
31

32
    def temp_location_code
3✔
33
      adapter.temp_location_code(holding)
156✔
34
    end
35
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc