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

pulibrary / tigerdata-app / 369d6825-211b-4b8f-a96c-38ea7f3b12d3

23 Oct 2025 02:49PM UTC coverage: 86.978% (-4.2%) from 91.178%
369d6825-211b-4b8f-a96c-38ea7f3b12d3

Pull #2088

circleci

carolyncole
Making sure the tigerdata page has loaded before we check the location
Pull Request #2088: Making sure the tigerdata page has loaded before we check the location

2625 of 3018 relevant lines covered (86.98%)

270.12 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✔
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

© 2026 Coveralls, Inc