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

pulibrary / tigerdata-app / f38a196c-60ac-4f70-afff-acf5f2a3dd33

09 Nov 2025 02:49PM UTC coverage: 77.281% (-14.0%) from 91.243%
f38a196c-60ac-4f70-afff-acf5f2a3dd33

Pull #2170

circleci

bess
Test that the Review and Submit step of the wizard has a Submit button
Pull Request #2170: Test that the Review and Submit step of the wizard has a Submit button

2490 of 3222 relevant lines covered (77.28%)

276.23 hits per line

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

88.24
/app/controllers/mediaflux_info_controller.rb
1
# frozen_string_literal: true
2
class MediafluxInfoController < ApplicationController
2✔
3
  # GET /mediaflux_infos or /mediaflux_infos.json
4
  def index
2✔
5
    @mf_version = mediaflux_version_info
1✔
6
    @mediaflux_roles = User.mediaflux_roles(user: current_user)
1✔
7
    @sysadmin = current_user.sysadmin
1✔
8
    @developer = current_user.developer
1✔
9
    respond_to do |format|
1✔
10
      format.html
1✔
11
      format.json { render json: @mf_version }
1✔
12
    end
13
  end
14

15
  private
2✔
16

17
    def mediaflux_version_info
2✔
18
      # Notice that we use the system user (instead of the current user) in this request to Mediaflux
19
      # because the average user does not have access to execute server.version.
20
      version_request = Mediaflux::VersionRequest.new(session_token: SystemUser.mediaflux_session)
1✔
21
      version_request.resolve
1✔
22
      raise version_request.response_error[:message] if version_request.error?
1✔
23
      version_request.version
1✔
24
    rescue => ex
25
      Rails.logger.error("Error fetching Mediaflux version: #{ex.message}")
×
26
      { vendor: "N/A", version: "N/A" }
×
27
    end
28
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