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

pulibrary / allsearch_api / d8fd6237-e4b2-4f17-92e4-265c24af861b

16 Jun 2025 01:31PM UTC coverage: 99.49%. Remained the same
d8fd6237-e4b2-4f17-92e4-265c24af861b

push

circleci

christinach
bundle update

2 of 2 new or added lines in 1 file covered. (100.0%)

17 existing lines in 4 files now uncovered.

976 of 981 relevant lines covered (99.49%)

101.15 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