require 'spec_helper' require 'json' # Unit tests for Phrase::SpacesApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'SpacesApi' do before do # run before each test @api_instance = Phrase::SpacesApi.new end after do # run after each test end describe 'test an instance of SpacesApi' do it 'should create an instance of SpacesApi' do expect(@api_instance).to be_instance_of(Phrase::SpacesApi) end end # unit tests for space_create # Create a Space # Create a new Space. # @param account_id Account ID # @param space_create_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [nil] describe 'space_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 space_delete # Delete Space # Delete the specified Space. # @param account_id Account ID # @param id ID # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [nil] describe 'space_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 space_show # Get Space # Show the specified Space. # @param account_id Account ID # @param id ID # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [Space] describe 'space_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 space_update # Update Space # Update the specified Space. # @param account_id Account ID # @param id ID # @param space_update_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [Space] describe 'space_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 spaces_list # List Spaces # List all Spaces for the given account. # @param account_id Account 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, 10 by default # @return [Array] describe 'spaces_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 spaces_projects_create # Add Project # Adds an existing project to the space. # @param account_id Account ID # @param space_id Space ID # @param spaces_projects_create_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [nil] describe 'spaces_projects_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 spaces_projects_delete # Remove Project # Removes a specified project from the specified space. # @param account_id Account ID # @param space_id Space ID # @param id ID # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [nil] describe 'spaces_projects_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 spaces_projects_list # List Projects # List all projects for the specified Space. # @param account_id Account ID # @param space_id Space 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, 10 by default # @return [Array] describe 'spaces_projects_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end