require 'spec_helper' require 'json' # Unit tests for Phrase::BranchesApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'BranchesApi' do before do # run before each test @api_instance = Phrase::BranchesApi.new end after do # run after each test end describe 'test an instance of BranchesApi' do it 'should create an instance of BranchesApi' do expect(@api_instance).to be_instance_of(Phrase::BranchesApi) end end # unit tests for branch_compare # Compare branches # Compare branch with main branch. # @param project_id Project ID # @param name name # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [nil] describe 'branch_compare 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 branch_create # Create a branch # Create a new branch. # @param project_id Project ID # @param branch_create_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [Branch] describe 'branch_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 branch_delete # Delete a branch # Delete an existing branch. # @param project_id Project ID # @param name name # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [nil] describe 'branch_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 branch_merge # Merge a branch # Merge an existing branch. # @param project_id Project ID # @param name name # @param branch_merge_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [nil] describe 'branch_merge 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 branch_show # Get a single branch # Get details on a single branch for a given project. # @param project_id Project ID # @param name name # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [Branch] describe 'branch_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 branch_update # Update a branch # Update an existing branch. # @param project_id Project ID # @param name name # @param branch_update_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [Branch] describe 'branch_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 branches_list # List branches # List all branches the of the current 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 allows you to specify a page size up to 100 items, 25 by default # @return [Array] describe 'branches_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end