Sha256: 52d7e590fbdf1beaea012676d83a28bc02acf42cf9a6e8b136b2efe860ac0585
Contents?: true
Size: 1 KB
Versions: 3
Compression:
Stored size: 1 KB
Contents
require 'spec_helper' RSpec.describe Examples::BuilderInitialization, type: :integration do it_behaves_like 'a builder' do let(:expected_json) do { type: :object, properties: { name: { type: :string }, settings: { type: :object, properties: { email: { type: :string } } }, preferences: { anyOf: [ { type: :object, properties: { enabled: { type: :boolean, default: true } } }, { type: :null } ] }, ids: { type: :array, items: { anyOf: [ {type: :number}, {type: :string} ] } } } } end end end
Version data entries
3 entries across 3 versions & 1 rubygems