Sha256: cbfcc7e9b8406021a3a7920e3dda71aaf50fc41ab8c935a993a0f7e0902e15e8

Contents?: true

Size: 753 Bytes

Versions: 6

Compression:

Stored size: 753 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

# @todo Create a message reading by janus
describe 'RubyRabbitmqJanus::RRJ -- message type offer' do
  before do
    clear
    attach_base

    @type = 'peer::offer'
    @options.merge!('sdp' => SDP_OFFER).merge!(@session_instance)
  end

  describe '#handle_endpoint_public', type: :request,
                                      level: :peer,
                                      broken: true,
                                      name: :offer do
    context 'when queue is exclusive' do
      it_behaves_like 'transaction handle should match json schema'
    end

    context 'when queue is not exclusive' do
      it_behaves_like 'transaction handle should match json empty'
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-3.0.0.pre.336 spec/request/peer/request_offer_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.335 spec/request/peer/request_offer_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.334 spec/request/peer/request_offer_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.330 spec/request/peer/request_offer_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.328 spec/request/peer/request_offer_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.327 spec/request/peer/request_offer_spec.rb