Sha256: 327e8a20b564f6f9d13b18464184b106faa655f6678c5453f1f366904e2aca27
Contents?: true
Size: 419 Bytes
Versions: 34
Compression:
Stored size: 419 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.available).not_to include(described_class) end end end end
Version data entries
34 entries across 34 versions & 2 rubygems