=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::WarsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'WarsApi' do before do # run before each test @instance = ESIClient::WarsApi.new end after do # run after each test end describe 'test an instance of WarsApi' do it 'should create an instact of WarsApi' do expect(@instance).to be_instance_of(ESIClient::WarsApi) end end # unit tests for get_wars # List wars # Return a list of wars --- This route is cached for up to 3600 seconds # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [Integer] :max_war_id Only return wars with ID smaller than this. # @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_wars 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_wars_war_id # Get war information # Return details about a war --- This route is cached for up to 3600 seconds # @param war_id ID for a war # @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 [GetWarsWarIdOk] describe 'get_wars_war_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_wars_war_id_killmails # List kills for a war # Return a list of kills related to a war --- This route is cached for up to 3600 seconds # @param war_id A valid war ID # @param [Hash] opts the optional parameters # @option opts [String] :datasource The server name you would like data from # @option opts [Integer] :page Which page to query, starting at 1, 2000 killmails per page. # @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_wars_war_id_killmails test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end