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

pulibrary / tigerdata-app / bcfa9906-4aea-4a17-82a6-28399bcb4fc4

25 Nov 2025 09:00PM UTC coverage: 91.366% (+11.7%) from 79.623%
bcfa9906-4aea-4a17-82a6-28399bcb4fc4

Pull #2248

circleci

kelynch
Updated rake task description
Pull Request #2248: Fixed rake task description

2910 of 3185 relevant lines covered (91.37%)

568.34 hits per line

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

100.0
/app/controllers/project_import_controller.rb
1
# frozen_string_literal: true
2
class ProjectImportController < ApplicationController
1✔
3
  def run
1✔
4
    if current_user.eligible_sysadmin?
3✔
5
      @results = ProjectImport.run_with_report(mediaflux_session: current_user.mediaflux_session).sort
2✔
6
      created_count = @results.count { |out| out.starts_with?("Created") }
47✔
7
      notice = "Created #{created_count} #{'project'.pluralize(created_count)}."
2✔
8
      flash[:notice] = notice
2✔
9
    else
10
      flash[:alert] = I18n.t(:access_denied)
1✔
11
      redirect_to dashboard_path
1✔
12
    end
13
  end
14
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