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

pulibrary / tigerdata-app / 88c82417-71e1-4f84-8337-7bf4bd1a5618

29 Jul 2025 08:15PM UTC coverage: 75.423% (-5.2%) from 80.666%
88c82417-71e1-4f84-8337-7bf4bd1a5618

Pull #1656

circleci

hectorcorrea
Marked a bunch of tests as integration since they create projects in Mediaflux
Pull Request #1656: Added error handling to the request to project workflow

12 of 17 new or added lines in 4 files covered. (70.59%)

157 existing lines in 19 files now uncovered.

2274 of 3015 relevant lines covered (75.42%)

344.11 hits per line

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

46.67
/app/models/mediaflux/asset_destroy_request.rb
1
# frozen_string_literal: true
2
module Mediaflux
1✔
3
  class AssetDestroyRequest < Request
1✔
4
    attr_reader :collection, :members
1✔
5

6
    # Constructor
7
    # @param session_token [String] the API token for the authenticated session
8
    # @param collection [Int] the identifier of the collection to be destroyed
9
    # @param members [Boolean] A true/false flag the can destroy all members of a collection
10

11
    def initialize(session_token:, collection:, members:)
1✔
UNCOV
12
      super(session_token: session_token)
×
UNCOV
13
      @collection = collection
×
UNCOV
14
      @members = members
×
15
    end
16

17
    # Specifies the Mediaflux service to use when destroying assets
18
    # @return [String]
19
    def self.service
1✔
UNCOV
20
      "asset.destroy"
×
21
    end
22

23
      private
1✔
24

25
        def build_http_request_body(name:)
1✔
UNCOV
26
          super do |xml|
×
UNCOV
27
            xml.args do
×
UNCOV
28
              xml.id collection
×
UNCOV
29
              xml.members members
×
30
            end
31
          end
32
        end
33
  end
34
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