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

pulibrary / tigerdata-app / c07767c7-9bab-45c6-b01b-5090ca4940a4

26 Nov 2025 09:10PM UTC coverage: 87.633% (+16.0%) from 71.597%
c07767c7-9bab-45c6-b01b-5090ca4940a4

Pull #2250

circleci

JaymeeH
persisting the approval provenance in the project
Pull Request #2250: Organize the submission provenance for a project

4 of 5 new or added lines in 2 files covered. (80.0%)

986 existing lines in 43 files now uncovered.

2806 of 3202 relevant lines covered (87.63%)

411.27 hits per line

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

91.67
/app/models/user_request.rb
1
# frozen_string_literal: true
2
class UserRequest < ApplicationRecord
4✔
3
  belongs_to :user
4✔
4
  belongs_to :project
4✔
5

6
  PENDING = "pending"
4✔
7
  COMPLETED = "completed"
4✔
8
  STALE = "stale"
4✔
9
  FAILED = "failed"
4✔
10

11
  validates :state, inclusion: { in: [PENDING, COMPLETED, STALE, FAILED] }
4✔
12

13
  def complete?
4✔
UNCOV
14
    state == COMPLETED
2✔
15
  end
16

17
  def failed?
4✔
18
    state == FAILED
×
19
  end
20
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