• 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

100.0
/app/models/mediaflux/asset_exist_request.rb
1
# frozen_string_literal: true
2
module Mediaflux
2✔
3
  class AssetExistRequest < Request
2✔
4
    # Constructor
5
    # @param session_token [String] the API token for the authenticated session
6
    def initialize(session_token:, path:)
2✔
7
      super(session_token: session_token)
3✔
8
      @path = path
3✔
9
    end
10

11
    # Specifies the Mediaflux service to use
12
    # @return [String]
13
    def self.service
2✔
14
      "asset.exists"
6✔
15
    end
16

17
    # Be aware that asset.exists does not return the ID of the asset validated
18
    # so we cannot return it back to the user (Mediaflux returns the path that
19
    # we validated but not the actual asset ID. Hence we return true/false for
20
    # this kind of request.
21
    def exist?
2✔
22
      response_xml.xpath("/response/reply/result/exists").text == "true"
3✔
23
    end
24

25
    private
2✔
26

27
      def build_http_request_body(name:)
2✔
28
        super do |xml|
6✔
29
          xml.args do
6✔
30
            xml.id "path=#{@path}"
6✔
31
          end
32
        end
33
      end
34
  end
35
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