=begin #EVE Swagger Interface #An OpenAPI for EVE Online OpenAPI spec version: 0.4.6.dev11 Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'spec_helper' require 'json' # Unit tests for ESIClient::CharacterApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CharacterApi' do before do # run before each test @instance = ESIClient::CharacterApi.new end after do # run after each test end describe 'test an instance of CharacterApi' do it 'should create an instact of CharacterApi' do expect(@instance).to be_instance_of(ESIClient::CharacterApi) end end # unit tests for get_characters_character_id # Get character's public information # Public information about a character --- This route is cached for up to 3600 seconds # @param character_id An EVE character ID # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [String] :user_agent Client identifier, takes precedence over headers # @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent # @return [GetCharactersCharacterIdOk] describe 'get_characters_character_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_characters_character_id_agents_research # Get agents research # Return a list of agents research information for a character. The formula for finding the current research points with an agent is: currentPoints = remainderPoints + pointsPerDay * days(currentTime - researchStartDate) --- This route is cached for up to 3600 seconds # @param character_id ID for a character # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [String] :token Access token to use, if preferred over a header # @option opts [String] :user_agent Client identifier, takes precedence over headers # @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent # @return [Array] describe 'get_characters_character_id_agents_research 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_characters_character_id_blueprints # Get blueprints # Return a list of blueprints the character has --- This route is cached for up to 3600 seconds # @param character_id ID for a character # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [String] :token Access token to use, if preferred over a header # @option opts [String] :user_agent Client identifier, takes precedence over headers # @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent # @return [Array] describe 'get_characters_character_id_blueprints 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_characters_character_id_chat_channels # Get chat channels # Return chat channels that a character is the owner or an operator of --- This route is cached for up to 300 seconds # @param character_id ID for a character # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [String] :token Access token to use, if preferred over a header # @option opts [String] :user_agent Client identifier, takes precedence over headers # @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent # @return [Array] describe 'get_characters_character_id_chat_channels 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_characters_character_id_corporationhistory # Get corporation history # Get a list of all the corporations a character has been a member of --- This route is cached for up to 3600 seconds # @param character_id An EVE character ID # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [String] :user_agent Client identifier, takes precedence over headers # @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent # @return [Array] describe 'get_characters_character_id_corporationhistory 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_characters_character_id_medals # Get medals # Return a list of medals the character has --- This route is cached for up to 3600 seconds # @param character_id ID for a character # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [String] :token Access token to use, if preferred over a header # @option opts [String] :user_agent Client identifier, takes precedence over headers # @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent # @return [Array] describe 'get_characters_character_id_medals 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_characters_character_id_portrait # Get character portraits # Get portrait urls for a character --- This route is cached for up to 3600 seconds # @param character_id An EVE character ID # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [String] :user_agent Client identifier, takes precedence over headers # @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent # @return [GetCharactersCharacterIdPortraitOk] describe 'get_characters_character_id_portrait 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_characters_character_id_roles # Get character corporation roles # Returns a character's corporation roles --- This route is cached for up to 3600 seconds # @param character_id A character ID # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [String] :token Access token to use, if preferred over a header # @option opts [String] :user_agent Client identifier, takes precedence over headers # @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent # @return [Array] describe 'get_characters_character_id_roles 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_characters_character_id_standings # Get standings # Return character standings from agents, NPC corporations, and factions --- This route is cached for up to 3600 seconds # @param character_id ID for a character # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [String] :token Access token to use, if preferred over a header # @option opts [String] :user_agent Client identifier, takes precedence over headers # @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent # @return [Array] describe 'get_characters_character_id_standings 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_characters_names # Get character names # Resolve a set of character IDs to character names --- This route is cached for up to 3600 seconds # @param character_ids A comma separated list of character IDs # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [String] :user_agent Client identifier, takes precedence over headers # @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent # @return [Array] describe 'get_characters_names 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 post_characters_affiliation # Character affiliation # Bulk lookup of character IDs to corporation, alliance and faction --- This route is cached for up to 3600 seconds # @param characters The character IDs to fetch affiliations for # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [String] :user_agent Client identifier, takes precedence over headers # @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent # @return [Array] describe 'post_characters_affiliation 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 post_characters_character_id_cspa # Calculate a CSPA charge cost # Takes a source character ID in the url and a set of target character ID's in the body, returns a CSPA charge cost --- # @param character_id An EVE character ID # @param characters The target characters to calculate the charge for # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [String] :token Access token to use, if preferred over a header # @option opts [String] :user_agent Client identifier, takes precedence over headers # @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent # @return [PostCharactersCharacterIdCspaCreated] describe 'post_characters_character_id_cspa test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end