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

pulibrary / allsearch_api / 29cc47ba-38a5-447a-9a89-fa55bc36f401

14 Oct 2025 01:59PM UTC coverage: 99.32% (-0.2%) from 99.514%
29cc47ba-38a5-447a-9a89-fa55bc36f401

Pull #395

circleci

sandbergja
add missing require_relative
Pull Request #395: Migrate a few more controllers away from Rails

8 of 8 new or added lines in 4 files covered. (100.0%)

90 existing lines in 18 files now uncovered.

1022 of 1029 relevant lines covered (99.32%)

96.72 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