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

pulibrary / tigerdata-app / bb6442c4-eb43-430c-9683-6ffb5848882a

21 Oct 2025 08:43PM UTC coverage: 87.325% (+0.4%) from 86.877%
bb6442c4-eb43-430c-9683-6ffb5848882a

Pull #2066

circleci

bess
Stop mediaflux when we stop everything else
Pull Request #2066: Stop mediaflux when we stop everything else

2625 of 3006 relevant lines covered (87.33%)

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

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

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

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

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