Sha256: fe5b9dea6c9e2459d44dedfb4bd7ef7aba02855e9936aee6b82c5bb580903b68

Contents?: true

Size: 1.56 KB

Versions: 33

Compression:

Stored size: 1.56 KB

Contents

require 'spec_helper'
require 'json'

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

  after do
    # run after each test
  end

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

  # unit tests for account_show
  # Get a single account
  # Get details on a single account.
  # @param id ID
  # @param [Hash] opts the optional parameters
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
  # @return [AccountDetails]
  describe 'account_show 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 accounts_list
  # List accounts
  # List all accounts the current user has access to.
  # @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<Account>]
  describe 'accounts_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/accounts_api_spec.rb
phrase-2.18.0 spec/api/accounts_api_spec.rb
phrase-2.17.0 spec/api/accounts_api_spec.rb
phrase-2.16.0 spec/api/accounts_api_spec.rb
phrase-2.15.0 spec/api/accounts_api_spec.rb
phrase-2.14.0 spec/api/accounts_api_spec.rb
phrase-2.13.0 spec/api/accounts_api_spec.rb
phrase-2.12.0 spec/api/accounts_api_spec.rb
phrase-2.11.0 spec/api/accounts_api_spec.rb
phrase-2.10.0 spec/api/accounts_api_spec.rb
phrase-2.9.0 spec/api/accounts_api_spec.rb
phrase-2.8.7 spec/api/accounts_api_spec.rb
phrase-2.8.3 spec/api/accounts_api_spec.rb