require 'spec_helper' require 'json' # Unit tests for Phrase::JobLocalesApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'JobLocalesApi' do before do # run before each test @api_instance = Phrase::JobLocalesApi.new end after do # run after each test end describe 'test an instance of JobLocalesApi' do it 'should create an instance of JobLocalesApi' do expect(@api_instance).to be_instance_of(Phrase::JobLocalesApi) end end # unit tests for job_locale_complete # Complete a job locale # Mark a job locale as completed. # @param project_id Project ID # @param job_id Job ID # @param id ID # @param job_locale_complete_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [JobLocale] describe 'job_locale_complete 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 job_locale_complete_review # Review a job locale # Mark job locale as reviewed. # @param project_id Project ID # @param job_id Job ID # @param id ID # @param job_locale_complete_review_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [JobLocale] describe 'job_locale_complete_review 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 job_locale_delete # Remove a target locale from a job # Removes a target locale from a job. # @param project_id Project ID # @param job_id Job ID # @param id ID # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [String] :branch specify the branch to use # @return [nil] describe 'job_locale_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 job_locale_reopen # Reopen a job locale # Mark a job locale as uncompleted. # @param project_id Project ID # @param job_id Job ID # @param id ID # @param job_locale_reopen_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [JobLocale] describe 'job_locale_reopen 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 job_locale_show # Show single job target locale # Get a single target locale for a given job. # @param project_id Project ID # @param job_id Job ID # @param id ID # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [String] :branch specify the branch to use # @return [JobLocale] describe 'job_locale_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 job_locale_update # Update a job target locale # Update an existing job target locale. # @param project_id Project ID # @param job_id Job ID # @param id ID # @param job_locale_update_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [JobLocale] describe 'job_locale_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 job_locales_create # Add a target locale to a job # Adds a target locale to a job. # @param project_id Project ID # @param job_id Job ID # @param job_locales_create_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [JobLocale] describe 'job_locales_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 job_locales_list # List job target locales # List all target locales for a given job. # @param project_id Project ID # @param job_id Job 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 # @option opts [String] :branch specify the branch to use # @return [Array] describe 'job_locales_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end