push
circleci
0 of 33 new or added lines in 1 file covered. (0.0%)
9374 existing lines in 213 files now uncovered.47 of 9753 relevant lines covered (0.48%)
0.01 hits per line
| 1 |
# frozen_string_literal: true
|
|
|
UNCOV
2
|
module Requests |
× |
|
UNCOV
3
|
module ServiceEligibility |
× |
| 4 |
# This class is responsible for determining if a specific
|
|
| 5 |
# user can request a specific physical resource that is
|
|
| 6 |
# on the shelf
|
|
|
UNCOV
7
|
class OnShelfPickup < AbstractOnShelf |
× |
|
UNCOV
8
|
def to_s |
× |
|
UNCOV
9
|
'on_shelf'
|
× |
|
UNCOV
10
|
end
|
× |
| 11 |
|
|
|
UNCOV
12
|
private |
× |
| 13 |
|
|
|
UNCOV
14
|
def requestable_eligible? |
× |
|
UNCOV
15
|
on_shelf_eligible? && requestable.circulates? && !requestable.annex? |
× |
|
UNCOV
16
|
end
|
× |
|
UNCOV
17
|
end
|
× |
|
UNCOV
18
|
end
|
× |
|
UNCOV
19
|
end
|
× |