Sha256: 79b560753ee7023a199d20e013d3a3a499287c0a73b00b9782c8a644da6098c7

Contents?: true

Size: 425 Bytes

Versions: 46

Compression:

Stored size: 425 Bytes

Contents

require 'spec_helper.rb'

describe Pwwka::SendMessageAsyncJob, :legacy do

  let(:payload) { Hash[:this, "that"] }
  let(:routing_key) { "this.that.and.theother" }

  describe '::perform' do
    it 'calls Pwwwka::Transmitter to send the message' do
      expect(Pwwka::Transmitter).to receive(:send_message!).with(payload, routing_key, on_error: :raise)
      described_class.perform(payload, routing_key)
    end
  end

end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
pwwka-1.0.0 spec/legacy/send_message_async_job_spec.rb
pwwka-1.0.0.RC1 spec/legacy/send_message_async_job_spec.rb
pwwka-0.24.0 spec/legacy/send_message_async_job_spec.rb
pwwka-0.23.0 spec/legacy/send_message_async_job_spec.rb
pwwka-0.22.7 spec/legacy/send_message_async_job_spec.rb
pwwka-0.22.7.RC spec/legacy/send_message_async_job_spec.rb
pwwka-0.23.0.RC2 spec/legacy/send_message_async_job_spec.rb
pwwka-0.22.6 spec/legacy/send_message_async_job_spec.rb
pwwka-0.23.RC1 spec/legacy/send_message_async_job_spec.rb
pwwka-0.22.5 spec/legacy/send_message_async_job_spec.rb
pwwka-0.22.4 spec/legacy/send_message_async_job_spec.rb
pwwka-0.22.3 spec/legacy/send_message_async_job_spec.rb
pwwka-0.22.2 spec/legacy/send_message_async_job_spec.rb
pwwka-0.21.3 spec/legacy/send_message_async_job_spec.rb
pwwka-0.22.2.RC4 spec/legacy/send_message_async_job_spec.rb
pwwka-0.22.2.RC3 spec/legacy/send_message_async_job_spec.rb
pwwka-0.22.2.RC2 spec/legacy/send_message_async_job_spec.rb
pwwka-0.22.0.RC2 spec/legacy/send_message_async_job_spec.rb
pwwka-0.22.0.RC spec/legacy/send_message_async_job_spec.rb
pwwka-0.21.2 spec/legacy/send_message_async_job_spec.rb