Sha256: faa268855b3eca918f37d80b65afbd9d7075bdd92a89b4b48bf5f39d20a13385

Contents?: true

Size: 312 Bytes

Versions: 23

Compression:

Stored size: 312 Bytes

Contents

require 'spec_helper'

RSpec.describe Examples::MixedArrays, type: :integration do
  it_behaves_like 'a builder' do
    let(:expected_json) do
      {
        type: :array,
        items: {
          type: :array,
          items: [{ }, { }],
          additionalItems: false
        }
      }
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
json-schema_builder-0.8.2 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.8.1 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.8.0 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.7.1 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.7.0 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.6.1 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.6.0 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.5.0 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.4.0 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.3.1 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.3.0 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.2.1 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.2.0 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.1.0 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.0.9 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.0.8 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.0.7 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.0.6 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.0.5 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.0.4 spec/integration/mixed_arrays_spec.rb