Sha256: a6b0c599c5dde4e167d0b48bd5663a7edfeb890de232aa68dc10bd0d89665fa2

Contents?: true

Size: 364 Bytes

Versions: 37

Compression:

Stored size: 364 Bytes

Contents

RSpec.shared_examples "a generated class" do
  describe '.openapi_nullable' do
    it 'returns a set with nullable properties' do
      expect(instance.class.openapi_nullable).to eq nullable_properties
    end
  end

  describe '#to_hash' do
    it 'returns a set with nullable properties' do
      expect(@instance.to_hash).to eq(instance_hash)
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
patch_ruby-1.13.0 spec/support/shared/generated_classes.rb
patch_ruby-1.12.0 spec/support/shared/generated_classes.rb
patch_ruby-1.11.1 spec/support/shared/generated_classes.rb
patch_ruby-1.11.0 spec/support/shared/generated_classes.rb
patch_ruby-1.10.2 spec/support/shared/generated_classes.rb
patch_ruby-1.10.1 spec/support/shared/generated_classes.rb
patch_ruby-1.10.0 spec/support/shared/generated_classes.rb
patch_ruby-1.9.0 spec/support/shared/generated_classes.rb
patch_ruby-1.8.0 spec/support/shared/generated_classes.rb
patch_ruby-1.7.0 spec/support/shared/generated_classes.rb
patch_ruby-1.6.0 spec/support/shared/generated_classes.rb
patch_ruby-1.5.2 spec/support/shared/generated_classes.rb
patch_ruby-1.5.1 spec/support/shared/generated_classes.rb
patch_ruby-1.5.0 spec/support/shared/generated_classes.rb
patch_ruby-1.4.0 spec/support/shared/generated_classes.rb
patch_ruby-1.3.0 spec/support/shared/generated_classes.rb
patch_ruby-1.2.5 spec/support/shared/generated_classes.rb