Sha256: 21695d6e35d889e847b2bd74b9c7fc471b91318f4baa88313f8b5f8691148471

Contents?: true

Size: 640 Bytes

Versions: 4

Compression:

Stored size: 640 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe SwaggerDocsGenerator::MetadataController, type: :metadata,
                                                   broken: true,
                                                   name: :configuration do
  let(:metadata) { SwaggerDocsGenerator::MetadataController.new }

  before(:context) do
    class ApplicationController < ::ApplicationController
    end
  end

  it { expect(metadata.send(:class_controller)).to be_kind_of Array }
  it { expect(metadata.send(:array_controller)).to be_kind_of Array }
  it { expect(metadata.send(:string_controller)).to be_kind_of String }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
swagger_docs_generator-0.2.0 spec/swagger_docs_generator/metadata/controller_spec.rb
swagger_docs_generator-0.2.0.pre.14 spec/swagger_docs_generator/metadata/controller_spec.rb
swagger_docs_generator-0.2.0.pre.13 spec/swagger_docs_generator/metadata/controller_spec.rb
swagger_docs_generator-0.2.0.pre.12 spec/swagger_docs_generator/metadata/controller_spec.rb