Sha256: b29623f6a7cfa5632c40d2a6de17e36eae940b53ae2e425856a47c01ec17f4fe

Contents?: true

Size: 421 Bytes

Versions: 47

Compression:

Stored size: 421 Bytes

Contents

require 'rails_helper'

module OpenStax
  module Api
    module V1
      describe Apipie do
        it 'adds methods to ApiController class' do
          expect(OpenStax::Api::V1::ApiController).to respond_to(:api_example)
          expect(OpenStax::Api::V1::ApiController).to respond_to(:json_schema)
          expect(OpenStax::Api::V1::ApiController).to respond_to(:representer)
        end
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
openstax_api-5.5.3 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.5.2 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.5.1 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.5.0 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.4.6 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.4.5 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.4.4 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.4.3 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.4.2 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.4.1 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.4.0 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.3.0 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.2.2 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.2.1 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.2.0 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.1.1 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.1.0 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.0.1 spec/lib/openstax/api/apipie_spec.rb
openstax_api-5.0.0 spec/lib/openstax/api/apipie_spec.rb
openstax_api-4.0.1 spec/lib/openstax/api/apipie_spec.rb