require 'spec_helper' require 'json' # Unit tests for Phrase::GitHubSyncApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'GitHubSyncApi' do before do # run before each test @api_instance = Phrase::GitHubSyncApi.new end after do # run after each test end describe 'test an instance of GitHubSyncApi' do it 'should create an instance of GitHubSyncApi' do expect(@api_instance).to be_instance_of(Phrase::GitHubSyncApi) end end # unit tests for github_sync_export # Export from Phrase Strings to GitHub # Export translations from Phrase Strings to GitHub according to the .phraseapp.yml file within the GitHub repository. # @param github_sync_export_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [nil] describe 'github_sync_export 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 github_sync_import # Import to Phrase Strings from GitHub # Import files to Phrase Strings from your connected GitHub repository. # @param github_sync_import_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [nil] describe 'github_sync_import test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end