Sha256: 34a0187f090e255d0af13766e3b9d4f06b092a2b40c1b817cce69e603a68116f

Contents?: true

Size: 1.2 KB

Versions: 12

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 'LightCellsApi' do
  before do
    @instance = AsposeCellsCloud::LightCellsApi.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

12 entries across 12 versions & 1 rubygems

Version Path
aspose_cells_cloud-22.12 spec/api/cells_protect_spec.rb
aspose_cells_cloud-22.11 spec/api/cells_protect_spec.rb
aspose_cells_cloud-22.10 spec/api/cells_protect_spec.rb
aspose_cells_cloud-22.9 spec/api/cells_protect_spec.rb
aspose_cells_cloud-22.8 spec/api/cells_protect_spec.rb
aspose_cells_cloud-22.7 spec/api/cells_protect_spec.rb
aspose_cells_cloud-22.6 spec/api/cells_protect_spec.rb
aspose_cells_cloud-22.5 spec/api/cells_protect_spec.rb
aspose_cells_cloud-22.4 spec/api/cells_protect_spec.rb
aspose_cells_cloud-22.3 spec/api/cells_protect_spec.rb
aspose_cells_cloud-22.2 spec/api/cells_protect_spec.rb
aspose_cells_cloud-22.1 spec/api/cells_protect_spec.rb