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

pulibrary / tigerdata-app / 7593fed5-ddd2-4131-b3d3-90812144e9eb

17 Nov 2025 05:51PM UTC coverage: 51.662% (-39.7%) from 91.318%
7593fed5-ddd2-4131-b3d3-90812144e9eb

Pull #2208

circleci

leefaisonr
Indicate emdash for empty project purpose field for projects
Co-authored-by: Hector Correa <hectorcorrea@users.noreply.github.com>
Co-authored-by: Precilla Prempeh <precillap@users.noreply.github.com>
Pull Request #2208: Indicate emdash for empty project purpose field for projects

1787 of 3459 relevant lines covered (51.66%)

66.66 hits per line

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

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