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

pulibrary / tigerdata-app / dca7f983-7828-4892-9134-280c636425aa

10 Nov 2025 08:29PM UTC coverage: 91.275% (-0.1%) from 91.371%
dca7f983-7828-4892-9134-280c636425aa

Pull #2177

circleci

hectorcorrea
Fixes access error bug
Pull Request #2177: Handles access error gracefully

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

1757 existing lines in 75 files now uncovered.

2856 of 3129 relevant lines covered (91.28%)

547.78 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
5✔
3
  belongs_to :user
5✔
4
  belongs_to :project
5✔
5

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

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

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

17
  def failed?
5✔
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