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

pulibrary / tigerdata-app / b6e4a7c7-d411-4822-a760-84eba5096a52

01 Dec 2025 03:02PM UTC coverage: 74.875% (-12.7%) from 87.594%
b6e4a7c7-d411-4822-a760-84eba5096a52

Pull #2251

circleci

carolyncole
Updating the department select to utilize LuxInputMultiSelect
The component only allows an item to be selected once (only for non asynch results which departments are).
fiexs #2134
Pull Request #2251: Updating the department select to utilize LuxInputMultiSelect

2390 of 3192 relevant lines covered (74.87%)

215.79 hits per line

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

100.0
/app/models/mediaflux/test_asset_create_request.rb
1
# frozen_string_literal: true
2
module Mediaflux
1✔
3
  class TestAssetCreateRequest < Request
1✔
4
    attr_reader :parent_id, :count, :pattern
1✔
5

6
    # Constructor
7
    # @param session_token [String] the API token for the authenticated session
8
    # @param parent_id [Integer] nid of namespace or collection to create the test assets in
9
    # @param count [Integer] Number of assets to create (default 1)
10
    # @param pattern [String] Optional base name of the assets to create
11
    def initialize(session_token:, parent_id:, count: 1, pattern: nil)
1✔
12
      super(session_token: session_token)
38✔
13
      @parent_id = parent_id
38✔
14
      @count = count
38✔
15
      @pattern = pattern
38✔
16
    end
17

18
    # Specifies the Mediaflux service to use when creating assets
19
    # @return [String]
20
    def self.service
1✔
21
      "asset.test.create"
76✔
22
    end
23

24
    private
1✔
25

26
      def build_http_request_body(name:)
1✔
27
        super do |xml|
76✔
28
          xml.args do
76✔
29
            xml.pid parent_id
76✔
30
            xml.nb count
76✔
31
            xml.send("base-name", pattern) if pattern.present?
76✔
32
          end
33
        end
34
      end
35
  end
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