default_api.server_commands_command_get.with_args.rb #1

  • //
  • guest/
  • perforce_software/
  • helix-web-services/
  • main/
  • source/
  • client-ruby/
  • test/
  • default_api.server_commands_command_get.with_args.rb
  • View
  • Commits
  • Open Download .zip Download (410 B)
$:.push File.expand_path("../../lib", __FILE__)
require 'helix_web_services_client'

require_relative './util/test_config'
require_relative './util/string_utils'

require 'pp'

api = api_as_jdoe

command_response = api.server_commands_command_get('localhost', 'files', arg: ['-m', '10', '//depot/...'])

unless command_response.results.all? { |x| x.has_key?('depotFile') }
  raise "didn't only list files"
end
# Change User Description Committed
#1 19553 swellard Move and rename clients
//guest/perforce_software/helix-web-services/main/source/clients/2016.1.0/ruby/test/default_api.server_commands_command_get.with_args.rb
#1 19198 tjuricek Ruby Client SDK tests, from branches to jobs.

Submitting since I've had to alter the Ruby swagger templates, and I want to make sure I haven't lost something.