Sha256: e91c12414438b4c0520ad91a80d7b733dc966550adac10a3e38bd1e2ba8ac6e6

Contents?: true

Size: 381 Bytes

Versions: 3

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'
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

3 entries across 3 versions & 1 rubygems

Version Path
basquiat-1.3.2 spec/lib/adapters/rabbitmq/requeue_strategies/base_strategy_spec.rb
basquiat-1.3.1 spec/lib/adapters/rabbitmq/requeue_strategies/base_strategy_spec.rb
basquiat-1.3.0 spec/lib/adapters/rabbitmq/requeue_strategies/base_strategy_spec.rb