Sha256: 41a504255853850a896a84db44fa3b046664649ec199290b66764807c5b74dfc

Contents?: true

Size: 1.2 KB

Versions: 8

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

  after do
    # run after each test
  end

  describe 'cells_unit test' do
    it "should work" do
      folder = $TEMPFOLDER
      result = @instance.upload_file( folder+"/"+ $BOOK1, ::File.open(File.expand_path("data/"+ $BOOK1),"r") {|io| io.read(io.size) })
      expect(result.uploaded.size).to  be > 0

      result = @instance.cells_picture_get_extract_barcodes($BOOK1,"Sheet8",0, { :folder=>folder})
      
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
      end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
aspose_cells_cloud-22.12 spec/api/cells_barcode_spec.rb
aspose_cells_cloud-22.11 spec/api/cells_barcode_spec.rb
aspose_cells_cloud-22.10 spec/api/cells_barcode_spec.rb
aspose_cells_cloud-22.9 spec/api/cells_barcode_spec.rb
aspose_cells_cloud-22.8 spec/api/cells_barcode_spec.rb
aspose_cells_cloud-22.7 spec/api/cells_barcode_spec.rb
aspose_cells_cloud-22.6 spec/api/cells_barcode_spec.rb
aspose_cells_cloud-22.5 spec/api/cells_barcode_spec.rb