Sha256: 376a9c3f9db3fca3ef71bed86ef199321ce81d7ce10d326a5e9b4fabb7e4c25d

Contents?: true

Size: 371 Bytes

Versions: 10

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe SolidusBolt::Handlers::BaseHandler do
  subject(:handler) { described_class.new({}) }

  it { expect(described_class).to respond_to(:call).with(1).arguments }

  it { expect(handler).to respond_to(:call).with(0).arguments }

  it { expect { handler.call }.to raise_exception(NotImplementedError) }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
solidus_bolt-0.7.2 spec/webhooks/solidus_bolt/handlers/base_handler_spec.rb
solidus_bolt-0.7.1 spec/webhooks/solidus_bolt/handlers/base_handler_spec.rb
solidus_bolt-0.7.0 spec/webhooks/solidus_bolt/handlers/base_handler_spec.rb
solidus_bolt-0.6.0 spec/webhooks/solidus_bolt/handlers/base_handler_spec.rb
solidus_bolt-0.5.0 spec/webhooks/solidus_bolt/handlers/base_handler_spec.rb
solidus_bolt-0.4.0 spec/webhooks/solidus_bolt/handlers/base_handler_spec.rb
solidus_bolt-0.3.0 spec/webhooks/solidus_bolt/handlers/base_handler_spec.rb
solidus_bolt-0.2.0 spec/webhooks/solidus_bolt/handlers/base_handler_spec.rb
solidus_bolt-0.1.0 spec/webhooks/solidus_bolt/handlers/base_handler_spec.rb
solidus_bolt-0.0.1 spec/webhooks/solidus_bolt/handlers/base_handler_spec.rb