Sha256: d5288dc8e472fee88a2562dc0c6e4b350b4af190aacd2c4259e293728e32d845

Contents?: true

Size: 411 Bytes

Versions: 128

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/require_sub'

RSpec.describe ::EacRubyUtils::RequireSub do
  class RequireSubStubClass
  end

  let(:instance) { described_class.new(__FILE__, base: RequireSubStubClass, include_modules: true) }

  before do
    instance.apply
  end

  it do
    expect(RequireSubStubClass.included_modules)
      .to include(RequireSubStubClass::StubbedModuleA)
  end
end

Version data entries

128 entries across 128 versions & 2 rubygems

Version Path
avm-tools-0.116.1 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.116.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.115.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.114.2 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.114.1 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.114.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.113.6 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.113.5 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.113.4 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.113.3 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.113.2 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
ehbrs-tools-0.28.3 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.110.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.109.1 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.109.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
ehbrs-tools-0.28.2 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.108.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
ehbrs-tools-0.28.1 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
avm-tools-0.107.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
ehbrs-tools-0.28.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb