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

Version Path
eac_tools-0.11.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
eac_tools-0.10.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
eac_tools-0.9.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
eac_tools-0.8.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
eac_tools-0.7.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
eac_tools-0.6.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
eac_tools-0.5.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
eac_tools-0.4.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
avm-tools-0.120.2 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
avm-tools-0.120.1 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
avm-tools-0.120.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
avm-tools-0.119.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
avm-tools-0.118.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
avm-tools-0.117.3 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
avm-tools-0.117.2 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
avm-tools-0.117.1 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
avm-tools-0.117.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
avm-tools-0.116.2 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
avm-tools-0.116.1 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
avm-tools-0.116.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb