Sha256: 1c4eef1487a16bfc611699649e45b6a7ad0ec00341a96ac34450d86d8e0971bc

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 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 export 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")
     
      result = @instance.post_export(files  ,"chart","pdf")

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aspose_cells_cloud-21.7 spec/api/cells_export_spec.rb
aspose_cells_cloud-21.6 spec/api/cells_export_spec.rb