Sha256: 333dec173c5cd463f70e060aef0c0507a89673e3970dc5026fd5aa468a6d758b

Contents?: true

Size: 293 Bytes

Versions: 32

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true

require 'avm/registry'

RSpec.shared_examples 'in_avm_registry' do |registry_method|
  let(:avm_registry) { Avm::Registry.send(registry_method) }

  it 'is in the avm registry' do
    expect(avm_registry.registered_modules).to include(described_class)
  end
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
avm-0.94.0 lib/avm/rspec/shared_examples/in_avm_registry.rb
eac_tools-0.94.0 sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
avm-0.93.0 lib/avm/rspec/shared_examples/in_avm_registry.rb
eac_tools-0.92.0 sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
avm-0.92.0 lib/avm/rspec/shared_examples/in_avm_registry.rb
eac_tools-0.91.0 sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
avm-0.90.1 lib/avm/rspec/shared_examples/in_avm_registry.rb
eac_tools-0.87.1 sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
avm-0.90.0 lib/avm/rspec/shared_examples/in_avm_registry.rb
eac_tools-0.87.0 sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
avm-0.89.0 lib/avm/rspec/shared_examples/in_avm_registry.rb
eac_tools-0.86.12 sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
avm-0.88.0 lib/avm/rspec/shared_examples/in_avm_registry.rb
eac_tools-0.86.11 sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
avm-0.87.0 lib/avm/rspec/shared_examples/in_avm_registry.rb
eac_tools-0.86.8 sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
avm-0.86.2 lib/avm/rspec/shared_examples/in_avm_registry.rb
eac_tools-0.86.7 sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
avm-0.86.1 lib/avm/rspec/shared_examples/in_avm_registry.rb
eac_tools-0.86.5 sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb