Sha256: bbda060dee3ae7fc32155b51f02c24dc39bd0d0e0e5103b1a0b56c543776b974

Contents?: true

Size: 570 Bytes

Versions: 19

Compression:

Stored size: 570 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'
require 'support/examples/configuration'

describe SwaggerDocsGenerator::ConfigurationInfo, type: :gem,
                                                  name: :configuration_info do
  describe 'with valie default' do
    context 'title' do
      let(:variable) { SwaggerDocsGenerator.info.title }
      it_behaves_like 'variable exist', 'Title Example API'
    end

    context 'version' do
      let(:variable) { SwaggerDocsGenerator.info.version }
      it_behaves_like 'variable exist', '1.0.0'
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
swagger_docs_generator-0.5.1 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.5.0.pre.42 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.4.0 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.3.6 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.3.6.pre.34 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.3.5 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.3.5.pre.31 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.3.4.pre.26 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.3.4 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.3.4.pre.23 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.3.3 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.3.2 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.3.1 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.3.0.pre.19 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.3.0.pre.18 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.2.0 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.2.0.pre.14 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.2.0.pre.13 spec/swagger_docs_generator/configuration/configuration_info_spec.rb
swagger_docs_generator-0.2.0.pre.12 spec/swagger_docs_generator/configuration/configuration_info_spec.rb