Sha256: c2b0ebe7d5f5d87be82058a47ef95b4727ff2a4ee18b690ac25141d767bfc42c
Contents?: true
Size: 444 Bytes
Versions: 43
Compression:
Stored size: 444 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/method_class' require 'eac_ruby_utils/patches/module/method_class' RSpec.describe ::Class do let(:stub_method_class) do described_class.new do def self.name 'StubMethodClass' end enable_method_class end end describe '#enable_simple_cache' do it { expect(stub_method_class.included_modules).to include(::EacRubyUtils::MethodClass) } end end
Version data entries
43 entries across 43 versions & 2 rubygems