Sha256: 528c52c9734184b888040c9cceef972003aa25a59fcb6a13a7896bae220eebe0

Contents?: true

Size: 460 Bytes

Versions: 16

Compression:

Stored size: 460 Bytes

Contents

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

16 entries across 16 versions & 1 rubygems

Version Path
dispatch-rider-2.1.0 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-2.0.0 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.9.0 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.8.6 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.8.5 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.8.4 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.8.3 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.8.2 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.8.1 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.8.0 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.7.2 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.7.1 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.7.0 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.6.2 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.6.1 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.6.0 spec/lib/dispatch-rider/queue_services/received_message_spec.rb