Sha256: e94f8f45f4a376ed7cfbb9c6e49a80e05ac3fbd93cad51f1c0a515dc829c1058

Contents?: true

Size: 687 Bytes

Versions: 53

Compression:

Stored size: 687 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe RubyRabbitmqJanus::Janus::Responses::Event, type: :responses,
                                                     name: :event,
                                                     broken: true do
  let(:message) do
    # Transaction not exclusive, response is public queue
    @gateway.start_transaction(false) do |transaction|
      @response = transaction.publish_message(type)
    end
  end

  describe '#event' do
    let(:type) { 'base::info' }
    let(:response) { @response }
    subject(:thread) { @event.join }

    it 'should eql {}' do
      message
      expect(@response.to_hash).to eql({})
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-2.5.1.pre.217 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.5.1 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.5.1.pre.215 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.5.0 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.5.0.pre.213 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.5.0.pre.210 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.5.0.pre.209 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.4.0.pre.208 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.3.1.pre.201 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.3.1.pre.198 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.3.0.pre.197 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.3.0.pre.196 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.3.0 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.3.0.pre.194 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.3.0.pre.192 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.3.0.pre.170 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.2 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.1 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.1.pre.181 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.1.pre.180 spec/rrj/responses/responses_event_spec.rb