Sha256: 902b5a348f0f8340964479c6a2805f4a8c49e96a698b67583add45d5182346fe
Contents?: true
Size: 442 Bytes
Versions: 113
Compression:
Stored size: 442 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/patches/class/abstract' RSpec.describe ::Class do let(:abstract_class) do described_class.new do enable_abstract_methods end end let(:concrect_class) do described_class.new(abstract_class) end describe '#abstract' do it do expect(abstract_class).to be_abstract end it do expect(concrect_class).not_to be_abstract end end end
Version data entries
113 entries across 113 versions & 3 rubygems