Sha256: 3ae033ead5d1877df9d0e6f0fadac9784878442a298a8fff634c9900e52986a2

Contents?: true

Size: 1.37 KB

Versions: 4

Compression:

Stored size: 1.37 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 'LiteCellsApi' do
  before do
    @instance = AsposeCellsCloud::LiteCellsApi.new($client_id,$client_secret,$api_version,$baseurl)
    $VERBOSE = nil
  end

  after do
    # run after each test
  end

  describe 'lite_cells_unit import object test' do
    it "should work" do
      files = {}      
      name = $DataSourceXlsx
      files[name] = ::File.open(File.expand_path("data/"+name),"r") 
      name =$AssemblyTestXlsx 
      files[name] = ::File.open(File.expand_path("data/"+name),"r")
      importdata = AsposeCellsCloud::ImportIntArrayOption.new({:DestinationWorksheet=>$SHEET1,:FirstColumn=>1,:FirstRow=>3,:ImportDataType=>'IntArray',:IsVertical=>true,:Data=>[1,2,3,4]})
      result = @instance.post_import(files  ,importdata)

      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
      end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aspose_cells_cloud-21.12 spec/api/cells_import_spec.rb
aspose_cells_cloud-21.11 spec/api/cells_import_spec.rb
aspose_cells_cloud-21.10 spec/api/cells_import_spec.rb
aspose_cells_cloud-21.8 spec/api/cells_import_spec.rb