Sha256: 40cf059aba921de1172cf9e7c8d3cda2027adf9e4e99be2e0e451cbaf1245e7c

Contents?: true

Size: 360 Bytes

Versions: 8

Compression:

Stored size: 360 Bytes

Contents

# frozen_string_literal: true

require 'basquiat/adapters/rabbitmq_adapter'

RSpec.describe Basquiat::Adapters::RabbitMq::BaseStrategy do
  subject(:strategy) { Basquiat::Adapters::RabbitMq::BaseStrategy.new(Object.new) }

  it 'needs to be extended' do
    expect { strategy.run('messages') }.to raise_error Basquiat::Errors::SubclassResponsibility
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
basquiat-1.6.0 spec/lib/adapters/rabbitmq/requeue_strategies/base_strategy_spec.rb
basquiat-1.5.2 spec/lib/adapters/rabbitmq/requeue_strategies/base_strategy_spec.rb
basquiat-1.5.1 spec/lib/adapters/rabbitmq/requeue_strategies/base_strategy_spec.rb
basquiat-1.5.0 spec/lib/adapters/rabbitmq/requeue_strategies/base_strategy_spec.rb
basquiat-1.4.0 spec/lib/adapters/rabbitmq/requeue_strategies/base_strategy_spec.rb
basquiat-1.3.6 spec/lib/adapters/rabbitmq/requeue_strategies/base_strategy_spec.rb
basquiat-1.3.5 spec/lib/adapters/rabbitmq/requeue_strategies/base_strategy_spec.rb
basquiat-1.3.4 spec/lib/adapters/rabbitmq/requeue_strategies/base_strategy_spec.rb