require 'spec_helper' require 'json' # Unit tests for Phrase::GlossaryTermsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'GlossaryTermsApi' do before do # run before each test @api_instance = Phrase::GlossaryTermsApi.new end after do # run after each test end describe 'test an instance of GlossaryTermsApi' do it 'should create an instance of GlossaryTermsApi' do expect(@api_instance).to be_instance_of(Phrase::GlossaryTermsApi) end end # unit tests for glossary_term_create # Create a glossary term # Create a new glossary term. # @param account_id Account ID # @param glossary_id Glossary ID # @param glossary_term_create_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [GlossaryTerm] describe 'glossary_term_create 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 glossary_term_delete # Delete a glossary term # Delete an existing glossary term. # @param account_id Account ID # @param glossary_id Glossary 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 'glossary_term_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 glossary_term_show # Get a single glossary term # Get details on a single glossary term. # @param account_id Account ID # @param glossary_id Glossary ID # @param id ID # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [GlossaryTerm] describe 'glossary_term_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 glossary_term_update # Update a glossary term # Update an existing glossary term. # @param account_id Account ID # @param glossary_id Glossary ID # @param id ID # @param glossary_term_update_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [GlossaryTerm] describe 'glossary_term_update 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 glossary_terms_list # List glossary terms # List all glossary terms the current user has access to. # @param account_id Account ID # @param glossary_id Glossary 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, 10 by default # @return [Array] describe 'glossary_terms_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end