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.0.3 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.0.2 spec/integration/mixed_arrays_spec.rb
json-schema_builder-0.0.1 spec/integration/mixed_arrays_spec.rb