Sha256: 13008e64a2b59cb182e53b31397a16ebbd3689c77c90f67a4fb4b0e9ea7682a6

Contents?: true

Size: 1.39 KB

Versions: 2

Compression:

Stored size: 1.39 KB

Contents

=begin
Agrid Quotes API



OpenAPI spec version: 1.0

Generated by: https://github.com/swagger-api/swagger-codegen.git


=end

require 'spec_helper'
require 'json'

# Unit tests for AgridClient::FiltersApi
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'FiltersApi' do
  before do
    # run before each test
    @instance = AgridClient::FiltersApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of FiltersApi' do
    it 'should create an instact of FiltersApi' do
      @instance.should be_a(AgridClient::FiltersApi)
    end
  end

  # unit tests for services_service_id_filters_get
  #
  # Returns all filters of a service.\n            You can some of the query parameters in /v1/services/:service_id/quotes\n            to fetch all filters and filter_categories of the set of that quotes.
  # @param service_id param to filter quotes by service
  # @param [Hash] opts the optional parameters
  # @option opts [String] :city_id the city id
  # @option opts [Float] :min_price the minimium price for a quote
  # @option opts [Float] :max_price the maximum price for a quote
  # @return [Filter]
  describe 'services_service_id_filters_get test' do
    it "should work" do
      # assertion here
      # should be_a()
      # should be_nil
      # should ==
      # should_not ==
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
agrid-client-0.0.2 spec/api/filters_api_spec.rb
agrid-client-0.0.1 spec/api/filters_api_spec.rb