Sha256: 6d0ef48084136ef67c3d2e156f968948c96ca8730f630840b41de4a61df91056

Contents?: true

Size: 457 Bytes

Versions: 5

Compression:

Stored size: 457 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

5 entries across 5 versions & 1 rubygems

Version Path
dispatch-rider-1.5.3 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.5.2 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.5.1 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.5.0 spec/lib/dispatch-rider/queue_services/received_message_spec.rb
dispatch-rider-1.4.2 spec/lib/dispatch-rider/queue_services/received_message_spec.rb