Sha256: eca885e918830aca2068c913d70755b180dbd6951146cc10bcfaa9d5aaf69ed4

Contents?: true

Size: 256 Bytes

Versions: 8

Compression:

Stored size: 256 Bytes

Contents

module Finitio
  module JsonSchema
    describe "SubType" do

      let(:type) {
        byte
      }

      it 'skips constraints (for now)' do
        expect(byte.to_json_schema).to eql({
          type: "integer"
        })
      end

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
finitio-0.12.0 spec/json_schema/test_sub_type.rb
finitio-0.11.4 spec/json_schema/test_sub_type.rb
finitio-0.11.3 spec/json_schema/test_sub_type.rb
finitio-0.11.2 spec/json_schema/test_sub_type.rb
finitio-0.11.1 spec/json_schema/test_sub_type.rb
finitio-0.10.0 spec/json_schema/test_sub_type.rb
finitio-0.9.1 spec/json_schema/test_sub_type.rb
finitio-0.9.0 spec/json_schema/test_sub_type.rb