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.2.0.pre.179 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.0 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.0.pre.177 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.0.pre.173 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.0.pre.170 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.0.pre.168 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.0.pre.167 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.0.pre.166 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.0.pre.165 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.0.pre.164 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.0.pre.161 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.0.pre.159 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.2.0.pre.42 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.1.1 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.1.1.pre.139 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.1.0 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.1.0.pre.137 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.1.0.pre.136 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.1.0.pre.135 spec/rrj/responses/responses_event_spec.rb
ruby_rabbitmq_janus-2.1.0.pre.132 spec/rrj/responses/responses_event_spec.rb