Sha256: 6f5c6c3306c6ff6143f61f309ca5e469313ee2564c9a5cb6ce48d594a71412fd
Contents?: true
Size: 364 Bytes
Versions: 8
Compression:
Stored size: 364 Bytes
Contents
module Finitio module JsonSchema describe "AdType" do let(:type) { type = AdType.new(Color, [rgb_contract, hex_contract]) } it 'works as expected' do expect(type.to_json_schema).to eql({ anyOf: [ { type: "integer" }, { type: "string" } ] }) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems