Sha256: 67e3bc8b249aa2c33c14a5a11aebce1907a14014994655ca965d48d384086e46
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 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,"v3.0") end after do # run after each test end describe 'cells_unit test' do it "should work" do name = $BOOK1 format = 'pdf' password = nil out_path = 'rubytest.pdf' result = @instance.cells_workbook_put_convert_workbook(::File.open("data/Book1.xlsx","r") {|io| io.read(io.size) },{:format=>format,out_path=>out_path}) # file = File.new( "test.pdf", "w" ) # result.data.each do | ch | # file.put(ch) # end # file.puts(result.gets) # file.colse # print(result.size) # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aspose_cells_cloud-20.2 | spec/api/cells_simple_spec.rb |