Sha256: a48fd2c423d23cceb6abc1be23dfa7f4dd3b66e26052f8190598a4acf3e65192

Contents?: true

Size: 1.59 KB

Versions: 9

Compression:

Stored size: 1.59 KB

Contents

=begin
#Web API Swagger specification

#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

OpenAPI spec version: 1.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 2.3.0-SNAPSHOT

=end

require 'spec_helper'
require 'json'

# Unit tests for AsposeCellsCloud::CellsApi
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'CellsApi' do
  before do
    @instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,$api_version,$baseurl)
    $VERBOSE = nil
  end

  after do
    # run after each test
  end

  describe 'cells_ranges_post_worksheet_cells_range_outline_border test' do
    it "should work" do
      name = $BOOK1
      password = nil
      format = 'pdf'
      is_auto_fit = true
      only_save_table = true
      folder = $TEMPFOLDER
      out_path = nil
      result = @instance.upload_file( folder+"/"+name,  ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
      expect(result.uploaded.size).to  be > 0
      extendedQueryParameters = {} 
      extendedQueryParameters['OnePagePerSheet'] = 'false' 
      result = @instance.cells_workbook_get_workbook(name,  { :password=>password, :format=>format,:folder=>folder, :out_path=>out_path,  :extendedQueryParameters=>extendedQueryParameters})
      # expect(result.code).to eql(200)
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
aspose_cells_cloud-22.12 spec/api/cells_simple_spec.rb
aspose_cells_cloud-22.11 spec/api/cells_simple_spec.rb
aspose_cells_cloud-22.10 spec/api/cells_simple_spec.rb
aspose_cells_cloud-22.9 spec/api/cells_simple_spec.rb
aspose_cells_cloud-22.8 spec/api/cells_simple_spec.rb
aspose_cells_cloud-22.7 spec/api/cells_simple_spec.rb
aspose_cells_cloud-22.6 spec/api/cells_simple_spec.rb
aspose_cells_cloud-22.5 spec/api/cells_simple_spec.rb
aspose_cells_cloud-22.4 spec/api/cells_simple_spec.rb