Sha256: 4c71b6e4f2c04e001364237884e13baae91a758d9ca180f0f2a5179889e069e8

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

require "spec_helper"
require "grape-entity"
require "roar/representer/json"
require "sample_mappings"

describe SwaggerRoar do
  describe 'should generate documentation' do
    it 'for single property mapping' do
      expect(SinglePropertyMapping).to generate_swagger_documentation
    end
    it 'for renamed property mapping' do
      expect(RenamedPropertyMapping).to generate_swagger_documentation
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
swagger_roar-0.0.1.pre.alpha.pre.13 spec/swagger_roar_spec.rb