• 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

100.0
/app/models/mediaflux/test_asset_create_request.rb
1
# frozen_string_literal: true
2
module Mediaflux
2✔
3
  class TestAssetCreateRequest < Request
2✔
4
    attr_reader :parent_id, :count, :pattern
2✔
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)
2✔
12
      super(session_token: session_token)
14✔
13
      @parent_id = parent_id
14✔
14
      @count = count
14✔
15
      @pattern = pattern
14✔
16
    end
17

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

24
    private
2✔
25

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