Sha256: 8d462e58968c04616f5a9d3dd2f9fe27f26b0c5a9f601a1bbe205fb41893bba3
Contents?: true
Size: 1.82 KB
Versions: 19
Compression:
Stored size: 1.82 KB
Contents
require 'spec_helper' require 'json' # Unit tests for Phrase::ReportsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'ReportsApi' do before do # run before each test @api_instance = Phrase::ReportsApi.new end after do # run after each test end describe 'test an instance of ReportsApi' do it 'should create an instance of ReportsApi' do expect(@api_instance).to be_instance_of(Phrase::ReportsApi) end end # unit tests for report_locales_list # List Locale Reports # List all locale reports for the given project # @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 # @option opts [String] :locale_codes Locale Code # @option opts [String] :tag tag # @option opts [String] :branch specify the branch to use # @return [Array<LocaleReport>] describe 'report_locales_list 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 report_show # Get Project Report # Get report of a single project. # @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 [String] :branch specify the branch to use # @return [ProjectReport] describe 'report_show 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
19 entries across 19 versions & 1 rubygems