Sha256: 163969da8d35d99d1cbe93af54cd1a3b6671f01a94ebeb0296c5b3821d116590

Contents?: true

Size: 368 Bytes

Versions: 19

Compression:

Stored size: 368 Bytes

Contents

require 'spec_helper'

RSpec.describe Examples::ScopeBreaking, type: :integration do
  it_behaves_like 'a builder' do
    let(:expected_json) do
      {
        type: :object,
        properties: {
          one: {
            type: :object,
            properties: {
              two: { type: :integer }
            }
          }
        }
      }
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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