Sha256: 2c70f2d684dcbe70f72dd9f01c6f682dc1962791f0b88603203a23c429de49fb
Contents?: true
Size: 434 Bytes
Versions: 24
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true require 'avm/registry' ::RSpec.shared_examples 'not_in_avm_registry' do |registry_method = nil| registry_method.if_present(::Avm::Registry.registries) { |v| [::Avm::Registry.send(v)] } .each do |registry| context "when registry is #{registry}" do it 'is not in the avm registry' do expect(registry.registered_modules).not_to include(described_class) end end end end
Version data entries
24 entries across 24 versions & 3 rubygems