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.17.0 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.16.1 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.16.0 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.33.0 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.15.0 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.32.0 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.14.0 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.31.0 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.13.0 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.30.0 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.12.0 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.11.1 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.29.0 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.11.0 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.28.0 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.10.0 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
avm-0.27.0 lib/avm/rspec/shared_examples/not_in_avm_registry.rb
eac_tools-0.9.0 sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb