Sha256: 64b962d25956835b931976a67a17ae055c5a410a6e856783c66050a310b5f58d

Contents?: true

Size: 413 Bytes

Versions: 99

Compression:

Stored size: 413 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/require_sub'

class RequireSubStubClass
end

RSpec.describe ::EacRubyUtils::RequireSub::Base do
  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

99 entries across 99 versions & 1 rubygems

Version Path
eac_tools-0.63.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.62.1 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.62.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.61.1 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.61.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.60.3 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.60.2 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.60.1 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.60.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.59.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.58.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.57.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.56.1 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.56.0 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.55.7 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.55.6 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.55.5 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.55.4 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.55.3 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb
eac_tools-0.55.2 sub/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub/base_spec.rb