Sha256: 2c0d91bdff77163834712df9f03541d33018c6d401a3bd28a5c45c7da67649c2
Contents?: true
Size: 1.2 KB
Versions: 6
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 protect 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_protect(files ,'123456' ) # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end
Version data entries
6 entries across 6 versions & 1 rubygems