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

pulibrary / tigerdata-app / d7ce1bf9-25b8-4b3e-b9dd-43f9a26f2d96

17 Oct 2025 05:51PM UTC coverage: 91.054%. Remained the same
d7ce1bf9-25b8-4b3e-b9dd-43f9a26f2d96

Pull #2055

circleci

jrgriffiniii
- Ensuring that `parallelism` is set to 4
- Separating `system` RSpec spec suites in the CI build
- Using an `inconsistent` RSpec tag to mark inconsistently failing tests
- Ensuring that CI does not run for `inconsistent` tests
Pull Request #2055: Ensuring that `parallelism` is set to 4 for CircleCI and separates `system` and inconsistently-failing tests into separate CI jobs

2738 of 3007 relevant lines covered (91.05%)

380.37 hits per line

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

90.0
/app/controllers/dashboard_controller.rb
1
# frozen_string_literal: true
2
class DashboardController < ApplicationController
3✔
3
  layout "welcome"
3✔
4

5
  def index
3✔
6
    @presenter = DashboardPresenter.new(current_user: current_user)
86✔
7

8
    session[:dashtab] ||= "project" # default the session tab to projects
86✔
9
    @dash_session = session[:dashtab]
86✔
10
    @session_id = current_user.mediaflux_session
86✔
11
    @emulation_role = session[:emulation_role] || "Not Emulating"
86✔
12
  end
13

14
  def emulate
3✔
15
    return if Rails.env.production?
3✔
16

17
    absolute_user = User.find(current_user.id)
3✔
18
    return unless absolute_user.trainer?
3✔
19

20
    if params.key?("emulation_menu")
3✔
21
      session[:emulation_role] = params[:emulation_menu]
3✔
22
    end
23
  end
24

25
  def dash_project
3✔
26
    if params.key?("dashtab")
×
27
      session[:dashtab] = params[:dashtab]
×
28
    end
29
  end
30

31
  def dash_admin
3✔
32
    if params.key?("dashtab")
2✔
33
      session[:dashtab] = params[:dashtab]
2✔
34
    end
35
  end
36
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