Sha256: af1f3d064b1167e61f4335f5ec9944cdb54d45e77149c5f1d9374524e43cf0ec
Contents?: true
Size: 1.46 KB
Versions: 3
Compression:
Stored size: 1.46 KB
Contents
=begin #Dropbox Sign API #Dropbox Sign v3 API The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.3.0 =end require 'spec_helper' require 'json_spec' require_relative '../test_utils' describe Dropbox::Sign::BulkSendJobApi do context 'BulkSendJobApiTest' do api = Dropbox::Sign::BulkSendJobApi.new it 'testBulkSendJobGet' do id = '6e683bc0369ba3d5b6f43c2c22a8031dbf6bd174' response_class = 'BulkSendJobGetResponse' response_data = get_fixture_data(response_class)[:default] set_expected_response(200, JSON.dump(response_data)) expected = Dropbox::Sign::BulkSendJobGetResponse.init(response_data) result = api.bulk_send_job_get(id) expect(result.class.to_s).to eq("Dropbox::Sign::#{response_class}") expect(result.to_json).to be_json_eql(JSON.dump(expected)) end it 'testBulkSendJobList' do page = 1 page_size = 20 response_class = 'BulkSendJobListResponse' response_data = get_fixture_data(response_class)[:default] set_expected_response(200, JSON.dump(response_data)) expected = Dropbox::Sign::BulkSendJobListResponse.init(response_data) result = api.bulk_send_job_list({ :page => page, :page_size => page_size }) expect(result.class.to_s).to eq("Dropbox::Sign::#{response_class}") expect(result.to_json).to be_json_eql(JSON.dump(expected)) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dropbox-sign-1.8.0 | spec/api/bulk_send_job_api_spec.rb |
dropbox-sign-1.7.0 | spec/api/bulk_send_job_api_spec.rb |
dropbox-sign-1.6.1 | spec/api/bulk_send_job_api_spec.rb |