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

pulibrary / tigerdata-app / 7dc02f1b-fd0e-4e10-8037-a3710bdaf4b4

04 Nov 2025 09:58PM UTC coverage: 91.37% (-0.03%) from 91.403%
7dc02f1b-fd0e-4e10-8037-a3710bdaf4b4

Pull #2146

circleci

hectorcorrea
Updated link to request more space
Pull Request #2146: Updated link to request more space

2827 of 3094 relevant lines covered (91.37%)

486.0 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") }
31✔
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

© 2026 Coveralls, Inc