Sha256: e38841aab2e2f2f32e6b0953d3c08aecbedf5144506abe088e67f51944a88878

Contents?: true

Size: 1.61 KB

Versions: 27

Compression:

Stored size: 1.61 KB

Contents

require 'spec_helper'
require 'json'

# Unit tests for Phrase::DocumentsApi
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'DocumentsApi' do
  before do
    # run before each test
    @api_instance = Phrase::DocumentsApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of DocumentsApi' do
    it 'should create an instance of DocumentsApi' do
      expect(@api_instance).to be_instance_of(Phrase::DocumentsApi)
    end
  end

  # unit tests for document_delete
  # Delete document
  # Delete an existing document.
  # @param project_id Project ID
  # @param id ID
  # @param [Hash] opts the optional parameters
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
  # @return [nil]
  describe 'document_delete test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  # unit tests for documents_list
  # List documents
  # List all documents the current user has access to.
  # @param project_id Project ID
  # @param [Hash] opts the optional parameters
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
  # @option opts [Integer] :page Page number
  # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
  # @return [Array<Document>]
  describe 'documents_list test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
phrase-2.8.2 spec/api/documents_api_spec.rb
phrase-2.8.1 spec/api/documents_api_spec.rb
phrase-2.8.0 spec/api/documents_api_spec.rb
phrase-2.7.2 spec/api/documents_api_spec.rb
phrase-2.7.1 spec/api/documents_api_spec.rb
phrase-2.7.0 spec/api/documents_api_spec.rb
phrase-2.6.0 spec/api/documents_api_spec.rb
phrase-2.5.1 spec/api/documents_api_spec.rb
phrase-2.5.0 spec/api/documents_api_spec.rb
phrase-2.4.0 spec/api/documents_api_spec.rb
phrase-2.3.1 spec/api/documents_api_spec.rb
phrase-2.3.0 spec/api/documents_api_spec.rb
phrase-2.2.0 spec/api/documents_api_spec.rb
phrase-2.1.0 spec/api/documents_api_spec.rb
phrase-2.0.0 spec/api/documents_api_spec.rb
phrase-1.0.14 spec/api/documents_api_spec.rb
phrase-1.0.13 spec/api/documents_api_spec.rb
phrase-1.0.12 spec/api/documents_api_spec.rb
phrase-1.0.11 spec/api/documents_api_spec.rb
phrase-1.0.10 spec/api/documents_api_spec.rb