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

pulibrary / tigerdata-app / 5205f704-d89d-4c43-8cfa-9e6783edc33a

29 Feb 2024 07:04PM UTC coverage: 60.206% (-29.9%) from 90.092%
5205f704-d89d-4c43-8cfa-9e6783edc33a

push

circleci

jrgriffiniii
Ensuring that the storage usage and storage capacity is retrieved for
Mediaflux Projects and rendered on the "contents" Project View

11 of 34 new or added lines in 4 files covered. (32.35%)

451 existing lines in 34 files now uncovered.

935 of 1553 relevant lines covered (60.21%)

9.47 hits per line

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

0.0
/app/services/project_job_service.rb
1
# frozen_string_literal: true
2

UNCOV
3
class ProjectJobService
×
UNCOV
4
  def initialize(project:)
×
UNCOV
5
    @project = project
×
UNCOV
6
  end
×
7

UNCOV
8
  def list_contents_job(user:)
×
UNCOV
9
    job = ListProjectContentsJob.perform_later(user_id: user.id, project_id: @project.id)
×
10
    # Log the job id and the Sidekiq JID in case we need to troubleshoot the job
11
    # https://github.com/sidekiq/sidekiq/wiki/Active-Job#job-id
UNCOV
12
    Rails.logger.info("Job scheduled, job id: #{job.job_id}, (Sidekiq JID: #{job.provider_job_id || 'nil'})")
×
UNCOV
13
    UserJob.create_and_link_to_user(job_id: job.job_id, user: user, job_title: "File list for #{@project.title}")
×
UNCOV
14
  end
×
UNCOV
15
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