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

pulibrary / allsearch_api / 322d09b9-bf13-4991-90db-61f466d8fd7d

02 Dec 2025 06:07PM UTC coverage: 99.905% (+12.0%) from 87.896%
322d09b9-bf13-4991-90db-61f466d8fd7d

push

circleci

web-flow
Merge pull request #416 from pulibrary/repo-factory

Extract ROM repository creation into a factory

17 of 17 new or added lines in 3 files covered. (100.0%)

78 existing lines in 18 files now uncovered.

1055 of 1056 relevant lines covered (99.91%)

102.95 hits per line

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

100.0
/app/models/best_bet_document.rb
1
# frozen_string_literal: true
2

3
# This class is responsible for getting relevant
4
# metadata from the BestBetRecords in the database
5
# The document is a BestBetRecord
6
class BestBetDocument < Document
3✔
7
  private
3✔
8

9
  def title
3✔
UNCOV
10
    document.title
3✔
11
  end
12

13
  # Not relevant for this service
14
  def creator; end
3✔
15

16
  # TODO: Would it be possible to add this to the sheet? or is it irrelevant?
17
  def publisher; end
3✔
18

19
  # TODO: Could we add identifiers to the sheet? Then they would be more likely to stay consistent
20
  def id
3✔
UNCOV
21
    document.id
3✔
22
  end
23

24
  # TODO: Can we add this to the sheet? Or should they all be "Electronic Resource" or similar?
25
  def type
3✔
UNCOV
26
    'Electronic Resource'
3✔
27
  end
28

29
  def description
3✔
UNCOV
30
    document.description
3✔
31
  end
32

33
  def url
3✔
UNCOV
34
    document.url
3✔
35
  end
36

37
  # No other fields needed at this time
38
  def other_fields; end
3✔
39
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