Sha256: bfba7152015f9cb471edc045eec21f659688265729479471c036929589825f23

Contents?: true

Size: 925 Bytes

Versions: 6

Compression:

Stored size: 925 Bytes

Contents

# frozen_string_literal: true

# LCO: tagged broken 2018/01/26 for v2.3.0
# see: https://travis-ci.org/dazzl-tv/ruby-rabbitmq-janus/builds/333359315

require 'spec_helper'

describe 'RubyRabbitmqJanus::RRJ -- message type trickles' do
  before do
    clear
    attach_base

    @type = 'peer::trickle'
    candidate = { 'sdpMid' => '..', 'sdpMLineIndex' => 1, 'candidate' => '..' }
    @options.merge!('candidates' => [candidate, candidate, candidate])
  end

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

    context 'when queue is not exclusive' do
      include_examples '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_trickles_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.335 spec/request/peer/request_trickles_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.334 spec/request/peer/request_trickles_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.330 spec/request/peer/request_trickles_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.328 spec/request/peer/request_trickles_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.327 spec/request/peer/request_trickles_spec.rb