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-2.3.0 spec/support/shared/generated_classes.rb
patch_ruby-2.1.1 spec/support/shared/generated_classes.rb
patch_ruby-2.0.0 spec/support/shared/generated_classes.rb
patch_ruby-1.24.2 spec/support/shared/generated_classes.rb
patch_ruby-1.24.1 spec/support/shared/generated_classes.rb
patch_ruby-1.24.0 spec/support/shared/generated_classes.rb
patch_ruby-1.23.0 spec/support/shared/generated_classes.rb
patch_ruby-1.22.0 spec/support/shared/generated_classes.rb
patch_ruby-1.21.0 spec/support/shared/generated_classes.rb
patch_ruby-1.20.0 spec/support/shared/generated_classes.rb
patch_ruby-1.19.0 spec/support/shared/generated_classes.rb
patch_ruby-1.18.0 spec/support/shared/generated_classes.rb
patch_ruby-1.17.1 spec/support/shared/generated_classes.rb
patch_ruby-1.17.0 spec/support/shared/generated_classes.rb
patch_ruby-1.16.1 spec/support/shared/generated_classes.rb
patch_ruby-1.16.0 spec/support/shared/generated_classes.rb
patch_ruby-1.15.2 spec/support/shared/generated_classes.rb
patch_ruby-1.15.1 spec/support/shared/generated_classes.rb
patch_ruby-1.15.0 spec/support/shared/generated_classes.rb
patch_ruby-1.14.0 spec/support/shared/generated_classes.rb