require 'spec_helper' require 'json' # Unit tests for Phrase::CommentReactionsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'CommentReactionsApi' do before do # run before each test @api_instance = Phrase::CommentReactionsApi.new end after do # run after each test end describe 'test an instance of CommentReactionsApi' do it 'should create an instance of CommentReactionsApi' do expect(@api_instance).to be_instance_of(Phrase::CommentReactionsApi) end end # unit tests for reaction_create # Create a reaction # Create a new reaction for a comment. # @param project_id Project ID # @param key_id Translation Key ID # @param comment_id Comment ID # @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 # @option opts [String] :emoji specify the emoji for the reaction # @return [CommentReaction] describe 'reaction_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 reaction_delete # Delete a reaction # Delete an existing reaction. # @param project_id Project ID # @param key_id Translation Key ID # @param comment_id Comment ID # @param id ID # @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 'reaction_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 reaction_show # Get a single reaction # Get details on a single reaction. # @param project_id Project ID # @param key_id Translation Key ID # @param comment_id Comment ID # @param id ID # @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 [CommentReaction] describe 'reaction_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 reactions_list # List reactions # List all reactions for a comment. # @param project_id Project ID # @param key_id Translation Key ID # @param comment_id Comment 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 'reactions_list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end