Sha256: 5c856b06ab9b8be9ec56d3cd5ec246e3c9fc1adc8369cfcb88e7e9d9af855211

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

# frozen_string_literal: true
shared_examples_for 'a Basquiat::Adapter' do
  [:adapter_options,
   :base_options,
   :default_options,
   :publish,
   :subscribe_to,
   :disconnect].each do |meth|
    it meth.to_s do
      expect(adapter).to respond_to(:meth)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
basquiat-1.3.2 spec/support/shared_examples/basquiat_adapter_shared_examples.rb
basquiat-1.3.1 spec/support/shared_examples/basquiat_adapter_shared_examples.rb
basquiat-1.3.0 spec/support/shared_examples/basquiat_adapter_shared_examples.rb