Sha256: c44a2d7384d934f62063b576121f4d264d87324dd463e691a7cdb04adb927bdf
Contents?: true
Size: 425 Bytes
Versions: 178
Compression:
Stored size: 425 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
178 entries across 178 versions & 2 rubygems