Sha256: 4dd1bf24d59b2274ca209918211c5d4f31cecad663685372319ef22a9bad2e62

Contents?: true

Size: 373 Bytes

Versions: 23

Compression:

Stored size: 373 Bytes

Contents

require 'spec_helper'

RSpec.shared_examples_for 'a numeric entity' do
  subject{ described_class }
  it{ is_expected.to define_attribute :multiple_of }
  it{ is_expected.to define_attribute :minimum }
  it{ is_expected.to define_attribute :maximum }
  it{ is_expected.to define_attribute :exclusive_minimum }
  it{ is_expected.to define_attribute :exclusive_maximum }
end

Version data entries

23 entries across 23 versions & 1 rubygems

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