Sha256: 267aa0161ba04583e10d1d1f4c45e109d34b033cce574cd4dbe0b857d73684e6

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe DispatchRider::QueueServices::ReceivedMessage do

  subject { described_class.new("test_message", double(:item)) }

  describe "#extend_timeout" do
    example do
      expect {
        subject.extend_timeout(10)
      }.to raise_error NotImplementedError
    end
  end

  describe "#return_to_queue" do
    example do
      expect {
        subject.return_to_queue
      }.to raise_error NotImplementedError
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dispatch-rider-2.2.0 spec/lib/dispatch-rider/queue_services/received_message_spec.rb