require 'spec_helper' require 'json' # Unit tests for Phrase::TagsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'TagsApi' do before do # run before each test @api_instance = Phrase::TagsApi.new end after do # run after each test end describe 'test an instance of TagsApi' do it 'should create an instance of TagsApi' do expect(@api_instance).to be_instance_of(Phrase::TagsApi) end end # unit tests for tag_create # Create a tag # Create a new tag. # @param project_id Project ID # @param tag_create_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [TagWithStats] describe 'tag_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 tag_delete # Delete a tag # Delete an existing tag. # @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) # @option opts [String] :branch specify the branch to use # @return [nil] describe 'tag_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 tag_show # Get a single tag # Get details and progress information on a single tag 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) # @option opts [String] :branch specify the branch to use # @return [TagWithStats] describe 'tag_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 tags_list # List tags # List all tags 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] :branch specify the branch to use # @return [Array] describe 'tags_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end