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

pulibrary / tigerdata-app / 7291b10e-eaa3-4284-9371-5a980ceebf59

24 Nov 2025 07:18PM UTC coverage: 87.613% (-3.7%) from 91.333%
7291b10e-eaa3-4284-9371-5a980ceebf59

push

circleci

web-flow
Adds breadcrumb to Wizard (#2231)

Adds the breadcrumb to the Wizard and the functionality to allow the
user to save their changes before leaving the Wizard when clicking on
the "Dashboard" link in the breadcrumbs.

Closes #2102

5 of 12 new or added lines in 11 files covered. (41.67%)

904 existing lines in 36 files now uncovered.

2801 of 3197 relevant lines covered (87.61%)

360.23 hits per line

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

100.0
/app/models/project_mediaflux.rb
1
# frozen_string_literal: true
2

3
# A custom exception class for when a namespace path is already taken
UNCOV
4
class MediafluxDuplicateNamespaceError < StandardError
2✔
UNCOV
5
end
6

7
# Take an instance of Project and adds it to MediaFlux
UNCOV
8
class ProjectMediaflux
2✔
9
  # Returns the XML string with the mediaflux metadata
UNCOV
10
  def self.xml_payload(project:, user:, xml_namespace: nil)
2✔
UNCOV
11
    request = Mediaflux::AssetMetadataRequest.new(session_token: user.mediaflux_session, id: project.mediaflux_id)
4✔
UNCOV
12
    request.resolve
4✔
UNCOV
13
    if request.error?
4✔
14
      raise request.response_error[:message]
1✔
UNCOV
15
    end
UNCOV
16
    request.response_body
3✔
UNCOV
17
  end
18

19
  # Returns an XML document with the mediaflux metadata
UNCOV
20
  def self.document(project:, user:, xml_namespace: nil)
2✔
UNCOV
21
    xml_body = xml_payload(project:, user:, xml_namespace:)
3✔
UNCOV
22
    Nokogiri::XML.parse(xml_body)
3✔
UNCOV
23
  end
UNCOV
24
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