Sha256: 13346c09f65cf85139420ffc2d2bad4dee69988f50b45a5a2ae35b05c779e1b9

Contents?: true

Size: 1.62 KB

Versions: 33

Compression:

Stored size: 1.62 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 Limit on the number of objects to be returned, between 1 and 100. 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

33 entries across 33 versions & 1 rubygems

Version Path
phrase-2.19.0 spec/api/documents_api_spec.rb
phrase-2.18.0 spec/api/documents_api_spec.rb
phrase-2.17.0 spec/api/documents_api_spec.rb
phrase-2.16.0 spec/api/documents_api_spec.rb
phrase-2.15.0 spec/api/documents_api_spec.rb
phrase-2.14.0 spec/api/documents_api_spec.rb
phrase-2.13.0 spec/api/documents_api_spec.rb
phrase-2.12.0 spec/api/documents_api_spec.rb
phrase-2.11.0 spec/api/documents_api_spec.rb
phrase-2.10.0 spec/api/documents_api_spec.rb
phrase-2.9.0 spec/api/documents_api_spec.rb
phrase-2.8.7 spec/api/documents_api_spec.rb
phrase-2.8.3 spec/api/documents_api_spec.rb