Sha256: b1819a8161623d0fccfb618fb878865fec5d9ca17dc3695c5449f5b3e101d836
Contents?: true
Size: 435 Bytes
Versions: 20
Compression:
Stored size: 435 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 acts_as_abstract 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
20 entries across 20 versions & 1 rubygems