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

Version Path
eac_tools-0.57.0 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.56.1 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.66.0 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.56.0 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.65.0 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.55.7 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.64.2 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.55.6 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.64.1 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.55.5 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.64.0 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.55.4 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.63.0 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.55.3 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.55.2 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.55.1 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.62.0 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.55.0 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.61.0 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.54.0 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb