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

pulibrary / tigerdata-app / 3c95d035-2719-460b-89ff-213dee6c3e40

10 Nov 2025 08:57PM UTC coverage: 88.974% (-2.4%) from 91.371%
3c95d035-2719-460b-89ff-213dee6c3e40

push

circleci

web-flow
Enforce the title requirement to save a draft request (#2172)

ref #2129

2784 of 3129 relevant lines covered (88.97%)

508.97 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") }
13✔
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