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

pulibrary / tigerdata-app / 47f8b36e-6cbd-422b-b67d-16bb6ff637e9

29 Oct 2025 11:56AM UTC coverage: 82.265% (-9.1%) from 91.333%
47f8b36e-6cbd-422b-b67d-16bb6ff637e9

Pull #2118

circleci

bess
Update expected version of mediaflux
Pull Request #2118: Upgrade to mediaflux_dev v0.17.0

1 of 1 new or added line in 1 file covered. (100.0%)

568 existing lines in 35 files now uncovered.

2528 of 3073 relevant lines covered (82.26%)

296.63 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
UNCOV
2
class DashboardController < ApplicationController
1✔
UNCOV
3
  layout "welcome"
1✔
4

UNCOV
5
  def index
1✔
UNCOV
6
    @presenter = DashboardPresenter.new(current_user: current_user)
59✔
7

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

UNCOV
14
  def emulate
1✔
UNCOV
15
    return if Rails.env.production?
2✔
16

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

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

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

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