Sha256: ccddde14b87ae7128bf9e2ecc6672a74790d0aa8a51224d08cfbbe4d19fa40ba

Contents?: true

Size: 1.59 KB

Versions: 25

Compression:

Stored size: 1.59 KB

Contents

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 to GitHub
  # Export translations from Phrase 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 from GitHub
  # Import files to Phrase 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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
phrase-1.0.7 spec/api/git_hub_sync_api_spec.rb
phrase-1.0.6 spec/api/git_hub_sync_api_spec.rb
phrase-1.0.5 spec/api/git_hub_sync_api_spec.rb
phrase-1.0.4 spec/api/git_hub_sync_api_spec.rb
phrase-1.0.3 spec/api/git_hub_sync_api_spec.rb