=begin #RadioManager #RadioManager OpenAPI spec version: 2.0 Contact: support@pluxbox.com Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.3.0 =end require 'spec_helper' require 'json' # Unit tests for RadioManagerClient::ContactApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ContactApi' do before do # run before each test @instance = RadioManagerClient::ContactApi.new end after do # run after each test end describe 'test an instance of ContactApi' do it 'should create an instance of ContactApi' do expect(@instance).to be_instance_of(RadioManagerClient::ContactApi) end end # unit tests for create_contact # Create contact. # Create contact. # @param data Data **(Required)** # @param [Hash] opts the optional parameters # @return [PostSuccess] describe 'create_contact 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 delete_contact_by_id # Delete contact by id # Delete contact by id # @param id ID of Contact **(Required)** # @param [Hash] opts the optional parameters # @return [Success] describe 'delete_contact_by_id 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 get_contact_by_id # Get contact by id # Get contact by id # @param id ID of Contact **(Required)** # @param [Hash] opts the optional parameters # @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)* # @return [ContactResult] describe 'get_contact_by_id 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 list_contacts # Get all contacts. # List all contacts. # @param [Hash] opts the optional parameters # @option opts [Integer] :page Current page *(Optional)* # @option opts [Integer] :item_id Search on Item ID *(Optional)* `(Relation)` # @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)* `(Relation)` # @option opts [Integer] :tag_id Search on Tag ID *(Optional)* `(Relation)` # @option opts [Integer] :limit Results per page *(Optional)* # @option opts [String] :order_by Field to order the results *(Optional)* # @option opts [String] :order_direction Direction of ordering *(Optional)* # @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)* # @return [ContactResults] describe 'list_contacts 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 update_contact_by_id # Update contact by id # Update contact by id # @param id ID of Contact **(Required)** # @param [Hash] opts the optional parameters # @option opts [ContactDataInput] :data Data *(Optional)* # @return [Success] describe 'update_contact_by_id test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end